@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 (isSetRemoved()) { if (!first) sb.append(", "); sb.append("removed:");
/** 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_removed = true && this.isSetRemoved(); boolean that_present_removed = true && that.isSetRemoved(); if (this_present_removed || that_present_removed) { if (!(this_present_removed && that_present_removed))
lastComparison = Boolean.valueOf(isSetRemoved()).compareTo(other.isSetRemoved()); if (lastComparison != 0) { return lastComparison; if (isSetRemoved()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.removed, other.removed); if (lastComparison != 0) {
if (struct.isSetRemoved()) { oprot.writeFieldBegin(REMOVED_FIELD_DESC);
optionals.set(0); if (struct.isSetRemoved()) { optionals.set(1); if (struct.isSetRemoved()) {