@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_family = true && (isSetFamily()); list.add(present_family); if (present_family) list.add(family); boolean present_qualifier = true && (isSetQualifier()); list.add(present_qualifier); if (present_qualifier) list.add(qualifier); boolean present_value = true && (isSetValue()); list.add(present_value); if (present_value) list.add(value); boolean present_put = true && (isSetPut()); list.add(present_put); if (present_put) list.add(put); 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_family = true && (isSetFamily()); list.add(present_family); if (present_family) list.add(family); boolean present_qualifier = true && (isSetQualifier()); list.add(present_qualifier); if (present_qualifier) list.add(qualifier); boolean present_value = true && (isSetValue()); list.add(present_value); if (present_value) list.add(value); boolean present_put = true && (isSetPut()); list.add(present_put); if (present_put) list.add(put); return list.hashCode(); }
lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); if (lastComparison != 0) { return lastComparison; if (isSetValue()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) {
/** * Performs a deep copy on <i>other</i>. */ public checkAndPut_args(checkAndPut_args other) { 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.isSetFamily()) { this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } if (other.isSetValue()) { this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); } if (other.isSetTput()) { this.tput = new TPut(other.tput); } }
/** 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 FAMILY: return isSetFamily(); case QUALIFIER: return isSetQualifier(); case VALUE: return isSetValue(); case TPUT: return isSetTput(); } throw new IllegalStateException(); }
/** 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 FAMILY: return isSetFamily(); case QUALIFIER: return isSetQualifier(); case VALUE: return isSetValue(); case TPUT: return isSetTput(); } throw new IllegalStateException(); }
/** 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 FAMILY: return isSetFamily(); case QUALIFIER: return isSetQualifier(); case VALUE: return isSetValue(); case PUT: return isSetPut(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public checkAndPut_args(checkAndPut_args other) { 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.isSetFamily()) { this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } if (other.isSetValue()) { this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); } if (other.isSetTput()) { this.tput = new TPut(other.tput); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.table); oprot.writeBinary(struct.row); oprot.writeBinary(struct.family); oprot.writeBinary(struct.qualifier); struct.tput.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeBinary(struct.value); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.table); oprot.writeBinary(struct.row); oprot.writeBinary(struct.family); oprot.writeBinary(struct.qualifier); struct.tput.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeBinary(struct.value); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.table); oprot.writeBinary(struct.row); oprot.writeBinary(struct.family); oprot.writeBinary(struct.qualifier); struct.put.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeBinary(struct.value); } }
lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); if (lastComparison != 0) { return lastComparison; if (isSetValue()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) {
boolean this_present_value = true && this.isSetValue(); boolean that_present_value = true && that.isSetValue(); if (this_present_value || that_present_value) { if (!(this_present_value && that_present_value))
boolean this_present_value = true && this.isSetValue(); boolean that_present_value = true && that.isSetValue(); if (this_present_value || that_present_value) { if (!(this_present_value && that_present_value))
/** * Performs a deep copy on <i>other</i>. */ public checkAndPut_args(checkAndPut_args other) { 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.isSetFamily()) { this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } if (other.isSetValue()) { this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); } if (other.isSetPut()) { this.put = new TPut(other.put); } }
/** * Performs a deep copy on <i>other</i>. */ public checkAndPut_args(checkAndPut_args other) { 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.isSetFamily()) { this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } if (other.isSetValue()) { this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value); } if (other.isSetPut()) { this.put = new TPut(other.put); } }
/** 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 FAMILY: return isSetFamily(); case QUALIFIER: return isSetQualifier(); case VALUE: return isSetValue(); case PUT: return isSetPut(); } throw new IllegalStateException(); }
/** 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 FAMILY: return isSetFamily(); case QUALIFIER: return isSetQualifier(); case VALUE: return isSetValue(); case PUT: return isSetPut(); } throw new IllegalStateException(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.table); oprot.writeBinary(struct.row); oprot.writeBinary(struct.family); oprot.writeBinary(struct.qualifier); struct.put.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeBinary(struct.value); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.table); oprot.writeBinary(struct.row); oprot.writeBinary(struct.family); oprot.writeBinary(struct.qualifier); struct.put.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeBinary(struct.value); } }