@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_expressions = true && (isSetExpressions()); builder.append(present_expressions); if (present_expressions) builder.append(expressions); boolean present_start_key = true && (isSetStart_key()); builder.append(present_start_key); if (present_start_key) builder.append(start_key); boolean present_count = true; builder.append(present_count); if (present_count) builder.append(count); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_expressions = true && (isSetExpressions()); builder.append(present_expressions); if (present_expressions) builder.append(expressions); boolean present_start_key = true && (isSetStart_key()); builder.append(present_start_key); if (present_start_key) builder.append(start_key); boolean present_count = true; builder.append(present_count); if (present_count) builder.append(count); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_expressions = true && (isSetExpressions()); builder.append(present_expressions); if (present_expressions) builder.append(expressions); boolean present_start_key = true && (isSetStart_key()); builder.append(present_start_key); if (present_start_key) builder.append(start_key); boolean present_count = true; builder.append(present_count); if (present_count) builder.append(count); 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 EXPRESSIONS: return isSetExpressions(); case START_KEY: return isSetStart_key(); case COUNT: return isSetCount(); } 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 EXPRESSIONS: return isSetExpressions(); case START_KEY: return isSetStart_key(); case COUNT: return isSetCount(); } throw new IllegalStateException(); }
public boolean equals(IndexClause that) { if (that == null) return false; boolean this_present_expressions = true && this.isSetExpressions(); boolean that_present_expressions = true && that.isSetExpressions(); if (this_present_expressions || that_present_expressions) { if (!(this_present_expressions && that_present_expressions)) return false; if (!this.expressions.equals(that.expressions)) return false; } boolean this_present_start_key = true && this.isSetStart_key(); boolean that_present_start_key = true && that.isSetStart_key(); if (this_present_start_key || that_present_start_key) { if (!(this_present_start_key && that_present_start_key)) return false; if (!this.start_key.equals(that.start_key)) return false; } boolean this_present_count = true; boolean that_present_count = true; if (this_present_count || that_present_count) { if (!(this_present_count && that_present_count)) return false; if (this.count != that.count) return false; } return true; }
public boolean equals(IndexClause that) { if (that == null) return false; boolean this_present_expressions = true && this.isSetExpressions(); boolean that_present_expressions = true && that.isSetExpressions(); if (this_present_expressions || that_present_expressions) { if (!(this_present_expressions && that_present_expressions)) return false; if (!this.expressions.equals(that.expressions)) return false; } boolean this_present_start_key = true && this.isSetStart_key(); boolean that_present_start_key = true && that.isSetStart_key(); if (this_present_start_key || that_present_start_key) { if (!(this_present_start_key && that_present_start_key)) return false; if (!this.start_key.equals(that.start_key)) return false; } boolean this_present_count = true; boolean that_present_count = true; if (this_present_count || that_present_count) { if (!(this_present_count && that_present_count)) return false; if (this.count != that.count) return false; } return true; }
/** 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 EXPRESSIONS: return isSetExpressions(); case START_KEY: return isSetStart_key(); case COUNT: return isSetCount(); } throw new IllegalStateException(); }
public boolean equals(IndexClause that) { if (that == null) return false; boolean this_present_expressions = true && this.isSetExpressions(); boolean that_present_expressions = true && that.isSetExpressions(); if (this_present_expressions || that_present_expressions) { if (!(this_present_expressions && that_present_expressions)) return false; if (!this.expressions.equals(that.expressions)) return false; } boolean this_present_start_key = true && this.isSetStart_key(); boolean that_present_start_key = true && that.isSetStart_key(); if (this_present_start_key || that_present_start_key) { if (!(this_present_start_key && that_present_start_key)) return false; if (!this.start_key.equals(that.start_key)) return false; } boolean this_present_count = true; boolean that_present_count = true; if (this_present_count || that_present_count) { if (!(this_present_count && that_present_count)) return false; if (this.count != that.count) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public IndexClause(IndexClause other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetExpressions()) { List<IndexExpression> __this__expressions = new ArrayList<IndexExpression>(other.expressions.size()); for (IndexExpression other_element : other.expressions) { __this__expressions.add(new IndexExpression(other_element)); } this.expressions = __this__expressions; } if (other.isSetStart_key()) { this.start_key = org.apache.thrift.TBaseHelper.copyBinary(other.start_key); ; } this.count = other.count; }
lastComparison = Boolean.valueOf(isSetExpressions()).compareTo(other.isSetExpressions()); if (lastComparison != 0) { return lastComparison; if (isSetExpressions()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expressions, other.expressions); if (lastComparison != 0) {
/** * Performs a deep copy on <i>other</i>. */ public IndexClause(IndexClause other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetExpressions()) { List<IndexExpression> __this__expressions = new ArrayList<IndexExpression>(other.expressions.size()); for (IndexExpression other_element : other.expressions) { __this__expressions.add(new IndexExpression(other_element)); } this.expressions = __this__expressions; } if (other.isSetStart_key()) { this.start_key = org.apache.thrift.TBaseHelper.copyBinary(other.start_key); ; } this.count = other.count; }
/** * Performs a deep copy on <i>other</i>. */ public IndexClause(IndexClause other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetExpressions()) { List<IndexExpression> __this__expressions = new ArrayList<IndexExpression>(other.expressions.size()); for (IndexExpression other_element : other.expressions) { __this__expressions.add(new IndexExpression(other_element)); } this.expressions = __this__expressions; } if (other.isSetStart_key()) { this.start_key = org.apache.thrift.TBaseHelper.copyBinary(other.start_key); ; } this.count = other.count; }
lastComparison = Boolean.valueOf(isSetExpressions()).compareTo(other.isSetExpressions()); if (lastComparison != 0) { return lastComparison; if (isSetExpressions()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expressions, other.expressions); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetExpressions()).compareTo(other.isSetExpressions()); if (lastComparison != 0) { return lastComparison; if (isSetExpressions()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expressions, other.expressions); if (lastComparison != 0) {