@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_deleteSingle = true && (isSetDeleteSingle()); list.add(present_deleteSingle); if (present_deleteSingle) list.add(deleteSingle); 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_deleteSingle = true && (isSetDeleteSingle()); list.add(present_deleteSingle); if (present_deleteSingle) list.add(deleteSingle); 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 checkAndDelete_args(checkAndDelete_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.isSetDeleteSingle()) { this.deleteSingle = new TDelete(other.deleteSingle); } }
/** * Performs a deep copy on <i>other</i>. */ public checkAndDelete_args(checkAndDelete_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.isSetTdelete()) { this.tdelete = new TDelete(other.tdelete); } }
/** 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 TDELETE: return isSetTdelete(); } 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 TDELETE: return isSetTdelete(); } 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 DELETE_SINGLE: return isSetDeleteSingle(); } throw new IllegalStateException(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, checkAndDelete_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.tdelete.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, checkAndDelete_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.deleteSingle.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, checkAndDelete_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.tdelete.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 checkAndDelete_args(checkAndDelete_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.isSetDeleteSingle()) { this.deleteSingle = new TDelete(other.deleteSingle); } }
/** * Performs a deep copy on <i>other</i>. */ public checkAndDelete_args(checkAndDelete_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.isSetDeleteSingle()) { this.deleteSingle = new TDelete(other.deleteSingle); } }
/** 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 DELETE_SINGLE: return isSetDeleteSingle(); } 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 DELETE_SINGLE: return isSetDeleteSingle(); } throw new IllegalStateException(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, checkAndDelete_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.deleteSingle.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, checkAndDelete_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.deleteSingle.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeBinary(struct.value); } }