@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetTable()) ? 131071 : 524287); if (isSetTable()) hashCode = hashCode * 8191 + table.hashCode(); hashCode = hashCode * 8191 + ((isSetRow()) ? 131071 : 524287); if (isSetRow()) hashCode = hashCode * 8191 + row.hashCode(); hashCode = hashCode * 8191 + ((isSetColumn()) ? 131071 : 524287); if (isSetColumn()) hashCode = hashCode * 8191 + column.hashCode(); hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(ammount); return hashCode; }
/** 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 java.lang.IllegalArgumentException(); } switch (field) { case TABLE: return isSetTable(); case ROW: return isSetRow(); case COLUMN: return isSetColumn(); case AMMOUNT: return isSetAmmount(); } throw new java.lang.IllegalStateException(); }
return true; boolean this_present_table = true && this.isSetTable(); boolean that_present_table = true && that.isSetTable(); if (this_present_table || that_present_table) { if (!(this_present_table && that_present_table))
lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); if (lastComparison != 0) { return lastComparison; if (isSetTable()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) {
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTable()) { optionals.set(0); } if (struct.isSetRow()) { optionals.set(1); } if (struct.isSetColumn()) { optionals.set(2); } if (struct.isSetAmmount()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); if (struct.isSetTable()) { oprot.writeBinary(struct.table); } if (struct.isSetRow()) { oprot.writeBinary(struct.row); } if (struct.isSetColumn()) { oprot.writeBinary(struct.column); } if (struct.isSetAmmount()) { oprot.writeI64(struct.ammount); } }
/** * Performs a deep copy on <i>other</i>. */ public TIncrement(TIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetRow()) { this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row); } if (other.isSetColumn()) { this.column = org.apache.thrift.TBaseHelper.copyBinary(other.column); } this.ammount = other.ammount; }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_table = true && (isSetTable()); list.add(present_table); if (present_table) list.add(table); boolean present_row = true && (isSetRow()); list.add(present_row); if (present_row) list.add(row); boolean present_column = true && (isSetColumn()); list.add(present_column); if (present_column) list.add(column); boolean present_ammount = true; list.add(present_ammount); if (present_ammount) list.add(ammount); return list.hashCode(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_table = true && (isSetTable()); list.add(present_table); if (present_table) list.add(table); boolean present_row = true && (isSetRow()); list.add(present_row); if (present_row) list.add(row); boolean present_column = true && (isSetColumn()); list.add(present_column); if (present_column) list.add(column); boolean present_ammount = true; list.add(present_ammount); if (present_ammount) list.add(ammount); return list.hashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public TIncrement(TIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { this.table = other.table; } if (other.isSetRow()) { this.row = other.row; } if (other.isSetColumn()) { this.column = other.column; } this.ammount = other.ammount; }
/** 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 TABLE: return isSetTable(); case ROW: return isSetRow(); case COLUMN: return isSetColumn(); case AMMOUNT: return isSetAmmount(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public TIncrement(TIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { this.table = other.table; } if (other.isSetRow()) { this.row = other.row; } if (other.isSetColumn()) { this.column = other.column; } this.ammount = other.ammount; }
/** 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 TABLE: return isSetTable(); case ROW: return isSetRow(); case COLUMN: return isSetColumn(); case AMMOUNT: return isSetAmmount(); } throw new IllegalStateException(); }
return false; boolean this_present_table = true && this.isSetTable(); boolean that_present_table = true && that.isSetTable(); if (this_present_table || that_present_table) { if (!(this_present_table && that_present_table))
return false; boolean this_present_table = true && this.isSetTable(); boolean that_present_table = true && that.isSetTable(); if (this_present_table || that_present_table) { if (!(this_present_table && that_present_table))
lastComparison = Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); if (lastComparison != 0) { return lastComparison; if (isSetTable()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); if (lastComparison != 0) { return lastComparison; if (isSetTable()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, other.table); if (lastComparison != 0) {
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTable()) { optionals.set(0); } if (struct.isSetRow()) { optionals.set(1); } if (struct.isSetColumn()) { optionals.set(2); } if (struct.isSetAmmount()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); if (struct.isSetTable()) { oprot.writeBinary(struct.table); } if (struct.isSetRow()) { oprot.writeBinary(struct.row); } if (struct.isSetColumn()) { oprot.writeBinary(struct.column); } if (struct.isSetAmmount()) { oprot.writeI64(struct.ammount); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTable()) { optionals.set(0); } if (struct.isSetRow()) { optionals.set(1); } if (struct.isSetColumn()) { optionals.set(2); } if (struct.isSetAmmount()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); if (struct.isSetTable()) { oprot.writeBinary(struct.table); } if (struct.isSetRow()) { oprot.writeBinary(struct.row); } if (struct.isSetColumn()) { oprot.writeBinary(struct.column); } if (struct.isSetAmmount()) { oprot.writeI64(struct.ammount); } }
/** 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 TABLE: return isSetTable(); case ROW: return isSetRow(); case COLUMN: return isSetColumn(); case AMMOUNT: return isSetAmmount(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public TIncrement(TIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { this.table = other.table; } if (other.isSetRow()) { this.row = other.row; } if (other.isSetColumn()) { this.column = other.column; } this.ammount = other.ammount; }