@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_start_key = true && (isSetStart_key()); builder.append(present_start_key); if (present_start_key) builder.append(start_key); boolean present_end_key = true && (isSetEnd_key()); builder.append(present_end_key); if (present_end_key) builder.append(end_key); boolean present_start_token = true && (isSetStart_token()); builder.append(present_start_token); if (present_start_token) builder.append(start_token); boolean present_end_token = true && (isSetEnd_token()); builder.append(present_end_token); if (present_end_token) builder.append(end_token); boolean present_row_filter = true && (isSetRow_filter()); builder.append(present_row_filter); if (present_row_filter) builder.append(row_filter); 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_start_key = true && (isSetStart_key()); builder.append(present_start_key); if (present_start_key) builder.append(start_key); boolean present_end_key = true && (isSetEnd_key()); builder.append(present_end_key); if (present_end_key) builder.append(end_key); boolean present_start_token = true && (isSetStart_token()); builder.append(present_start_token); if (present_start_token) builder.append(start_token); boolean present_end_token = true && (isSetEnd_token()); builder.append(present_end_token); if (present_end_token) builder.append(end_token); boolean present_row_filter = true && (isSetRow_filter()); builder.append(present_row_filter); if (present_row_filter) builder.append(row_filter); 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_start_key = true && (isSetStart_key()); builder.append(present_start_key); if (present_start_key) builder.append(start_key); boolean present_end_key = true && (isSetEnd_key()); builder.append(present_end_key); if (present_end_key) builder.append(end_key); boolean present_start_token = true && (isSetStart_token()); builder.append(present_start_token); if (present_start_token) builder.append(start_token); boolean present_end_token = true && (isSetEnd_token()); builder.append(present_end_token); if (present_end_token) builder.append(end_token); boolean present_row_filter = true && (isSetRow_filter()); builder.append(present_row_filter); if (present_row_filter) builder.append(row_filter); boolean present_count = true; builder.append(present_count); if (present_count) builder.append(count); return builder.toHashCode(); }
boolean first = true; if (isSetStart_key()) { sb.append("start_key:"); if (this.start_key == null) {
boolean first = true; if (isSetStart_key()) { sb.append("start_key:"); if (this.start_key == null) {
if (struct.isSetStart_key()) { oprot.writeFieldBegin(START_KEY_FIELD_DESC); oprot.writeBinary(struct.start_key);
/** 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 START_KEY: return isSetStart_key(); case END_KEY: return isSetEnd_key(); case START_TOKEN: return isSetStart_token(); case END_TOKEN: return isSetEnd_token(); case ROW_FILTER: return isSetRow_filter(); 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 START_KEY: return isSetStart_key(); case END_KEY: return isSetEnd_key(); case START_TOKEN: return isSetStart_token(); case END_TOKEN: return isSetEnd_token(); case ROW_FILTER: return isSetRow_filter(); 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 START_KEY: return isSetStart_key(); case END_KEY: return isSetEnd_key(); case START_TOKEN: return isSetStart_token(); case END_TOKEN: return isSetEnd_token(); case ROW_FILTER: return isSetRow_filter(); case COUNT: return isSetCount(); } throw new IllegalStateException(); }
if (struct.isSetStart_key()) { oprot.writeFieldBegin(START_KEY_FIELD_DESC); oprot.writeBinary(struct.start_key);
if (struct.isSetStart_key()) { oprot.writeFieldBegin(START_KEY_FIELD_DESC); oprot.writeBinary(struct.start_key);
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; 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))
/** * Performs a deep copy on <i>other</i>. */ public KeyRange(KeyRange other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStart_key()) { this.start_key = org.apache.thrift.TBaseHelper.copyBinary(other.start_key); ; } if (other.isSetEnd_key()) { this.end_key = org.apache.thrift.TBaseHelper.copyBinary(other.end_key); ; } if (other.isSetStart_token()) { this.start_token = other.start_token; } if (other.isSetEnd_token()) { this.end_token = other.end_token; } if (other.isSetRow_filter()) { List<IndexExpression> __this__row_filter = new ArrayList<IndexExpression>(other.row_filter.size()); for (IndexExpression other_element : other.row_filter) { __this__row_filter.add(new IndexExpression(other_element)); } this.row_filter = __this__row_filter; } this.count = other.count; }
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))
/** * Performs a deep copy on <i>other</i>. */ public KeyRange(KeyRange other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStart_key()) { this.start_key = org.apache.thrift.TBaseHelper.copyBinary(other.start_key); ; } if (other.isSetEnd_key()) { this.end_key = org.apache.thrift.TBaseHelper.copyBinary(other.end_key); ; } if (other.isSetStart_token()) { this.start_token = other.start_token; } if (other.isSetEnd_token()) { this.end_token = other.end_token; } if (other.isSetRow_filter()) { List<IndexExpression> __this__row_filter = new ArrayList<IndexExpression>(other.row_filter.size()); for (IndexExpression other_element : other.row_filter) { __this__row_filter.add(new IndexExpression(other_element)); } this.row_filter = __this__row_filter; } this.count = other.count; }
/** * Performs a deep copy on <i>other</i>. */ public KeyRange(KeyRange other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStart_key()) { this.start_key = org.apache.thrift.TBaseHelper.copyBinary(other.start_key); ; } if (other.isSetEnd_key()) { this.end_key = org.apache.thrift.TBaseHelper.copyBinary(other.end_key); ; } if (other.isSetStart_token()) { this.start_token = other.start_token; } if (other.isSetEnd_token()) { this.end_token = other.end_token; } if (other.isSetRow_filter()) { List<IndexExpression> __this__row_filter = new ArrayList<IndexExpression>(other.row_filter.size()); for (IndexExpression other_element : other.row_filter) { __this__row_filter.add(new IndexExpression(other_element)); } this.row_filter = __this__row_filter; } this.count = other.count; }
oprot.writeI32(struct.count); BitSet optionals = new BitSet(); if (struct.isSetStart_key()) { optionals.set(0); if (struct.isSetStart_key()) { oprot.writeBinary(struct.start_key);
oprot.writeI32(struct.count); BitSet optionals = new BitSet(); if (struct.isSetStart_key()) { optionals.set(0); if (struct.isSetStart_key()) { oprot.writeBinary(struct.start_key);
oprot.writeI32(struct.count); BitSet optionals = new BitSet(); if (struct.isSetStart_key()) { optionals.set(0); if (struct.isSetStart_key()) { oprot.writeBinary(struct.start_key);