/** 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 COLUMN_FAMILY: return isSetColumn_family(); case SUPER_COLUMN: return isSetSuper_column(); } throw new IllegalStateException(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_column_family = true && (isSetColumn_family()); builder.append(present_column_family); if (present_column_family) builder.append(column_family); boolean present_super_column = true && (isSetSuper_column()); builder.append(present_super_column); if (present_super_column) builder.append(super_column); return builder.toHashCode(); }
/** 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 COLUMN_FAMILY: return isSetColumn_family(); case SUPER_COLUMN: return isSetSuper_column(); } throw new IllegalStateException(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_column_family = true && (isSetColumn_family()); builder.append(present_column_family); if (present_column_family) builder.append(column_family); boolean present_super_column = true && (isSetSuper_column()); builder.append(present_super_column); if (present_super_column) builder.append(super_column); return builder.toHashCode(); }
/** 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 COLUMN_FAMILY: return isSetColumn_family(); case SUPER_COLUMN: return isSetSuper_column(); } throw new IllegalStateException(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_column_family = true && (isSetColumn_family()); builder.append(present_column_family); if (present_column_family) builder.append(column_family); boolean present_super_column = true && (isSetSuper_column()); builder.append(present_super_column); if (present_super_column) builder.append(super_column); return builder.toHashCode(); }
public boolean equals(ColumnParent that) { if (that == null) return false; boolean this_present_column_family = true && this.isSetColumn_family(); boolean that_present_column_family = true && that.isSetColumn_family(); if (this_present_column_family || that_present_column_family) { if (!(this_present_column_family && that_present_column_family)) return false; if (!this.column_family.equals(that.column_family)) return false; } boolean this_present_super_column = true && this.isSetSuper_column(); boolean that_present_super_column = true && that.isSetSuper_column(); if (this_present_super_column || that_present_super_column) { if (!(this_present_super_column && that_present_super_column)) return false; if (!this.super_column.equals(that.super_column)) return false; } return true; }
public boolean equals(ColumnParent that) { if (that == null) return false; boolean this_present_column_family = true && this.isSetColumn_family(); boolean that_present_column_family = true && that.isSetColumn_family(); if (this_present_column_family || that_present_column_family) { if (!(this_present_column_family && that_present_column_family)) return false; if (!this.column_family.equals(that.column_family)) return false; } boolean this_present_super_column = true && this.isSetSuper_column(); boolean that_present_super_column = true && that.isSetSuper_column(); if (this_present_super_column || that_present_super_column) { if (!(this_present_super_column && that_present_super_column)) return false; if (!this.super_column.equals(that.super_column)) return false; } return true; }
public boolean equals(ColumnParent that) { if (that == null) return false; boolean this_present_column_family = true && this.isSetColumn_family(); boolean that_present_column_family = true && that.isSetColumn_family(); if (this_present_column_family || that_present_column_family) { if (!(this_present_column_family && that_present_column_family)) return false; if (!this.column_family.equals(that.column_family)) return false; } boolean this_present_super_column = true && this.isSetSuper_column(); boolean that_present_super_column = true && that.isSetSuper_column(); if (this_present_super_column || that_present_super_column) { if (!(this_present_super_column && that_present_super_column)) return false; if (!this.super_column.equals(that.super_column)) return false; } return true; }
@Override public int compareTo(ColumnParent other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetColumn_family()).compareTo(other.isSetColumn_family()); if (lastComparison != 0) { return lastComparison; } if (isSetColumn_family()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column_family, other.column_family); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSuper_column()).compareTo(other.isSetSuper_column()); if (lastComparison != 0) { return lastComparison; } if (isSetSuper_column()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.super_column, other.super_column); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(ColumnParent other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetColumn_family()).compareTo(other.isSetColumn_family()); if (lastComparison != 0) { return lastComparison; } if (isSetColumn_family()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column_family, other.column_family); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSuper_column()).compareTo(other.isSetSuper_column()); if (lastComparison != 0) { return lastComparison; } if (isSetSuper_column()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.super_column, other.super_column); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(ColumnParent other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetColumn_family()).compareTo(other.isSetColumn_family()); if (lastComparison != 0) { return lastComparison; } if (isSetColumn_family()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column_family, other.column_family); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSuper_column()).compareTo(other.isSetSuper_column()); if (lastComparison != 0) { return lastComparison; } if (isSetSuper_column()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.super_column, other.super_column); if (lastComparison != 0) { return lastComparison; } } return 0; }
/** * Performs a deep copy on <i>other</i>. */ public ColumnParent(ColumnParent other) { if (other.isSetColumn_family()) { this.column_family = other.column_family; } if (other.isSetSuper_column()) { this.super_column = org.apache.thrift.TBaseHelper.copyBinary(other.super_column); ; } }
/** * Performs a deep copy on <i>other</i>. */ public ColumnParent(ColumnParent other) { if (other.isSetColumn_family()) { this.column_family = other.column_family; } if (other.isSetSuper_column()) { this.super_column = org.apache.thrift.TBaseHelper.copyBinary(other.super_column); ; } }
/** * Performs a deep copy on <i>other</i>. */ public ColumnParent(ColumnParent other) { if (other.isSetColumn_family()) { this.column_family = other.column_family; } if (other.isSetSuper_column()) { this.super_column = org.apache.thrift.TBaseHelper.copyBinary(other.super_column); ; } }