@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_time_stamp = true; list.add(present_time_stamp); if (present_time_stamp) list.add(time_stamp); boolean present_added = true && (isSetAdded()); list.add(present_added); if (present_added) list.add(added); boolean present_removed = true && (isSetRemoved()); list.add(present_removed); if (present_removed) list.add(removed); boolean present_tableName = true && (isSetTableName()); list.add(present_tableName); if (present_tableName) list.add(tableName); return list.hashCode(); }
if (isSetTableName()) { if (!first) sb.append(", "); sb.append("tableName:");
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TIME_STAMP: return isSetTime_stamp(); case ADDED: return isSetAdded(); case REMOVED: return isSetRemoved(); case TABLE_NAME: return isSetTableName(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public SchemaEvolutionEntry(SchemaEvolutionEntry other) { __isset_bitfield = other.__isset_bitfield; this.time_stamp = other.time_stamp; if (other.isSetAdded()) { List<ColumnSchema> __this__added = new ArrayList<ColumnSchema>(other.added.size()); for (ColumnSchema other_element : other.added) { __this__added.add(new ColumnSchema(other_element)); } this.added = __this__added; } if (other.isSetRemoved()) { List<ColumnSchema> __this__removed = new ArrayList<ColumnSchema>(other.removed.size()); for (ColumnSchema other_element : other.removed) { __this__removed.add(new ColumnSchema(other_element)); } this.removed = __this__removed; } if (other.isSetTableName()) { this.tableName = other.tableName; } }
boolean this_present_tableName = true && this.isSetTableName(); boolean that_present_tableName = true && that.isSetTableName(); if (this_present_tableName || that_present_tableName) { if (!(this_present_tableName && that_present_tableName))
lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); if (lastComparison != 0) { return lastComparison; if (isSetTableName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) {
if (struct.isSetTableName()) { oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC); oprot.writeString(struct.tableName);
optionals.set(1); if (struct.isSetTableName()) { optionals.set(2); if (struct.isSetTableName()) { oprot.writeString(struct.tableName);