/** 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 TIMESTAMP: return isSetTimestamp(); } 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 + ((isSetTimestamp()) ? 131071 : 524287); if (isSetTimestamp()) hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(timestamp); return hashCode; }
lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); if (lastComparison != 0) { return lastComparison; if (isSetFamily()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); if (lastComparison != 0) {
return true; 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))
/** * Performs a deep copy on <i>other</i>. */ public TColumn(TColumn 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.timestamp = other.timestamp; }
@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_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if (present_timestamp) list.add(timestamp); 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_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if (present_timestamp) list.add(timestamp); 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 TIMESTAMP: return isSetTimestamp(); } 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 TIMESTAMP: return isSetTimestamp(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); if (lastComparison != 0) { return lastComparison; if (isSetFamily()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); if (lastComparison != 0) { return lastComparison; if (isSetFamily()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.family, other.family); if (lastComparison != 0) {
public boolean equals(TColumn 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_timestamp = true && this.isSetTimestamp(); boolean that_present_timestamp = true && that.isSetTimestamp(); if (this_present_timestamp || that_present_timestamp) { if (!(this_present_timestamp && that_present_timestamp)) return false; if (this.timestamp != that.timestamp) return false; } return true; }
public boolean equals(TColumn 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_timestamp = true && this.isSetTimestamp(); boolean that_present_timestamp = true && that.isSetTimestamp(); if (this_present_timestamp || that_present_timestamp) { if (!(this_present_timestamp && that_present_timestamp)) return false; if (this.timestamp != that.timestamp) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public TColumn(TColumn 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.timestamp = other.timestamp; }
/** * Performs a deep copy on <i>other</i>. */ public TColumn(TColumn 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.timestamp = other.timestamp; }
/** 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 TIMESTAMP: return isSetTimestamp(); } 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 TIMESTAMP: return isSetTimestamp(); } 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 TIMESTAMP: return isSetTimestamp(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public TColumn(TColumn 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.timestamp = other.timestamp; }
/** * Performs a deep copy on <i>other</i>. */ public TColumn(TColumn 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.timestamp = other.timestamp; }