@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(); }
if (isSetRow_filter()) { if (!first) sb.append(", "); sb.append("row_filter:");
if (isSetRow_filter()) { if (!first) sb.append(", "); sb.append("row_filter:");
oprot.writeFieldEnd(); if (struct.row_filter != null) { if (struct.isSetRow_filter()) { oprot.writeFieldBegin(ROW_FILTER_FIELD_DESC);
/** 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(); }
oprot.writeFieldEnd(); if (struct.row_filter != null) { if (struct.isSetRow_filter()) { oprot.writeFieldBegin(ROW_FILTER_FIELD_DESC);
oprot.writeFieldEnd(); if (struct.row_filter != null) { if (struct.isSetRow_filter()) { oprot.writeFieldBegin(ROW_FILTER_FIELD_DESC);
boolean this_present_row_filter = true && this.isSetRow_filter(); boolean that_present_row_filter = true && that.isSetRow_filter(); if (this_present_row_filter || that_present_row_filter) { if (!(this_present_row_filter && that_present_row_filter))
boolean this_present_row_filter = true && this.isSetRow_filter(); boolean that_present_row_filter = true && that.isSetRow_filter(); if (this_present_row_filter || that_present_row_filter) { if (!(this_present_row_filter && that_present_row_filter))
/** * 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; }
boolean this_present_row_filter = true && this.isSetRow_filter(); boolean that_present_row_filter = true && that.isSetRow_filter(); if (this_present_row_filter || that_present_row_filter) { if (!(this_present_row_filter && that_present_row_filter))
/** * 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; }
optionals.set(3); if (struct.isSetRow_filter()) { optionals.set(4); oprot.writeString(struct.end_token); if (struct.isSetRow_filter()) {
optionals.set(3); if (struct.isSetRow_filter()) { optionals.set(4); oprot.writeString(struct.end_token); if (struct.isSetRow_filter()) {
optionals.set(3); if (struct.isSetRow_filter()) { optionals.set(4); oprot.writeString(struct.end_token); if (struct.isSetRow_filter()) {