/** 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 FAMILY: return isSetFamily(); case QUALIFIER: return isSetQualifier(); case AMOUNT: return isSetAmount(); } throw new java.lang.IllegalStateException(); }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetFamily()) ? 131071 : 524287); if (isSetFamily()) hashCode = hashCode * 8191 + family.hashCode(); hashCode = hashCode * 8191 + ((isSetQualifier()) ? 131071 : 524287); if (isSetQualifier()) hashCode = hashCode * 8191 + qualifier.hashCode(); hashCode = hashCode * 8191 + ((isSetAmount()) ? 131071 : 524287); if (isSetAmount()) hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(amount); return hashCode; }
lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; if (isSetQualifier()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); if (lastComparison != 0) {
boolean this_present_qualifier = true && this.isSetQualifier(); boolean that_present_qualifier = true && that.isSetQualifier(); if (this_present_qualifier || that_present_qualifier) { if (!(this_present_qualifier && that_present_qualifier))
/** * Performs a deep copy on <i>other</i>. */ public TColumnIncrement(TColumnIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetFamily()) { this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } this.amount = other.amount; }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); 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_amount = true && (isSetAmount()); list.add(present_amount); if (present_amount) list.add(amount); return list.hashCode(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); 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_amount = true && (isSetAmount()); list.add(present_amount); if (present_amount) list.add(amount); return list.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 IllegalArgumentException(); } switch (field) { case FAMILY: return isSetFamily(); case QUALIFIER: return isSetQualifier(); case AMOUNT: return isSetAmount(); } 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 FAMILY: return isSetFamily(); case QUALIFIER: return isSetQualifier(); case AMOUNT: return isSetAmount(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; if (isSetQualifier()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; if (isSetQualifier()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier); if (lastComparison != 0) {
public boolean equals(TColumnIncrement that) { if (that == null) return false; boolean this_present_family = true && this.isSetFamily(); boolean that_present_family = true && that.isSetFamily(); if (this_present_family || that_present_family) { if (!(this_present_family && that_present_family)) return false; if (!this.family.equals(that.family)) return false; } boolean this_present_qualifier = true && this.isSetQualifier(); boolean that_present_qualifier = true && that.isSetQualifier(); if (this_present_qualifier || that_present_qualifier) { if (!(this_present_qualifier && that_present_qualifier)) return false; if (!this.qualifier.equals(that.qualifier)) return false; } boolean this_present_amount = true && this.isSetAmount(); boolean that_present_amount = true && that.isSetAmount(); if (this_present_amount || that_present_amount) { if (!(this_present_amount && that_present_amount)) return false; if (this.amount != that.amount) return false; } return true; }
public boolean equals(TColumnIncrement that) { if (that == null) return false; boolean this_present_family = true && this.isSetFamily(); boolean that_present_family = true && that.isSetFamily(); if (this_present_family || that_present_family) { if (!(this_present_family && that_present_family)) return false; if (!this.family.equals(that.family)) return false; } boolean this_present_qualifier = true && this.isSetQualifier(); boolean that_present_qualifier = true && that.isSetQualifier(); if (this_present_qualifier || that_present_qualifier) { if (!(this_present_qualifier && that_present_qualifier)) return false; if (!this.qualifier.equals(that.qualifier)) return false; } boolean this_present_amount = true && this.isSetAmount(); boolean that_present_amount = true && that.isSetAmount(); if (this_present_amount || that_present_amount) { if (!(this_present_amount && that_present_amount)) return false; if (this.amount != that.amount) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public TColumnIncrement(TColumnIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetFamily()) { this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } this.amount = other.amount; }
/** * Performs a deep copy on <i>other</i>. */ public TColumnIncrement(TColumnIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetFamily()) { this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } this.amount = other.amount; }
/** 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 FAMILY: return isSetFamily(); case QUALIFIER: return isSetQualifier(); case AMOUNT: return isSetAmount(); } 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 FAMILY: return isSetFamily(); case QUALIFIER: return isSetQualifier(); case AMOUNT: return isSetAmount(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public TColumnIncrement(TColumnIncrement other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetFamily()) { this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); ; } if (other.isSetQualifier()) { this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); ; } this.amount = other.amount; }
/** * Performs a deep copy on <i>other</i>. */ public TColumnIncrement(TColumnIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetFamily()) { this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } this.amount = other.amount; }
/** * Performs a deep copy on <i>other</i>. */ public TColumnIncrement(TColumnIncrement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetFamily()) { this.family = org.apache.thrift.TBaseHelper.copyBinary(other.family); } if (other.isSetQualifier()) { this.qualifier = org.apache.thrift.TBaseHelper.copyBinary(other.qualifier); } this.amount = other.amount; }