@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_status = true && (isSetStatus()); builder.append(present_status); if (present_status) builder.append(status); boolean present_hasMoreRows = true && (isSetHasMoreRows()); builder.append(present_hasMoreRows); if (present_hasMoreRows) builder.append(hasMoreRows); boolean present_results = true && (isSetResults()); builder.append(present_results); if (present_results) builder.append(results); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_status = true && (isSetStatus()); builder.append(present_status); if (present_status) builder.append(status); boolean present_hasMoreRows = true && (isSetHasMoreRows()); builder.append(present_hasMoreRows); if (present_hasMoreRows) builder.append(hasMoreRows); boolean present_results = true && (isSetResults()); builder.append(present_results); if (present_results) builder.append(results); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_status = true && (isSetStatus()); builder.append(present_status); if (present_status) builder.append(status); boolean present_hasMoreRows = true && (isSetHasMoreRows()); builder.append(present_hasMoreRows); if (present_hasMoreRows) builder.append(hasMoreRows); boolean present_results = true && (isSetResults()); builder.append(present_results); if (present_results) builder.append(results); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_status = true && (isSetStatus()); builder.append(present_status); if (present_status) builder.append(status); boolean present_hasMoreRows = true && (isSetHasMoreRows()); builder.append(present_hasMoreRows); if (present_hasMoreRows) builder.append(hasMoreRows); boolean present_results = true && (isSetResults()); builder.append(present_results); if (present_results) builder.append(results); 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 STATUS: return isSetStatus(); case HAS_MORE_ROWS: return isSetHasMoreRows(); case RESULTS: return isSetResults(); } 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 STATUS: return isSetStatus(); case HAS_MORE_ROWS: return isSetHasMoreRows(); case RESULTS: return isSetResults(); } 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 STATUS: return isSetStatus(); case HAS_MORE_ROWS: return isSetHasMoreRows(); case RESULTS: return isSetResults(); } 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 STATUS: return isSetStatus(); case HAS_MORE_ROWS: return isSetHasMoreRows(); case RESULTS: return isSetResults(); } throw new IllegalStateException(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TFetchResultsResp struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.status != null) { oprot.writeFieldBegin(STATUS_FIELD_DESC); struct.status.write(oprot); oprot.writeFieldEnd(); } if (struct.isSetHasMoreRows()) { oprot.writeFieldBegin(HAS_MORE_ROWS_FIELD_DESC); oprot.writeBool(struct.hasMoreRows); oprot.writeFieldEnd(); } if (struct.results != null) { if (struct.isSetResults()) { oprot.writeFieldBegin(RESULTS_FIELD_DESC); struct.results.write(oprot); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TFetchResultsResp struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.status != null) { oprot.writeFieldBegin(STATUS_FIELD_DESC); struct.status.write(oprot); oprot.writeFieldEnd(); } if (struct.isSetHasMoreRows()) { oprot.writeFieldBegin(HAS_MORE_ROWS_FIELD_DESC); oprot.writeBool(struct.hasMoreRows); oprot.writeFieldEnd(); } if (struct.results != null) { if (struct.isSetResults()) { oprot.writeFieldBegin(RESULTS_FIELD_DESC); struct.results.write(oprot); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TFetchResultsResp struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.status != null) { oprot.writeFieldBegin(STATUS_FIELD_DESC); struct.status.write(oprot); oprot.writeFieldEnd(); } if (struct.isSetHasMoreRows()) { oprot.writeFieldBegin(HAS_MORE_ROWS_FIELD_DESC); oprot.writeBool(struct.hasMoreRows); oprot.writeFieldEnd(); } if (struct.results != null) { if (struct.isSetResults()) { oprot.writeFieldBegin(RESULTS_FIELD_DESC); struct.results.write(oprot); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TFetchResultsResp struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.status != null) { oprot.writeFieldBegin(STATUS_FIELD_DESC); struct.status.write(oprot); oprot.writeFieldEnd(); } if (struct.isSetHasMoreRows()) { oprot.writeFieldBegin(HAS_MORE_ROWS_FIELD_DESC); oprot.writeBool(struct.hasMoreRows); oprot.writeFieldEnd(); } if (struct.results != null) { if (struct.isSetResults()) { oprot.writeFieldBegin(RESULTS_FIELD_DESC); struct.results.write(oprot); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TFetchResultsResp struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.status.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetHasMoreRows()) { optionals.set(0); } if (struct.isSetResults()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetHasMoreRows()) { oprot.writeBool(struct.hasMoreRows); } if (struct.isSetResults()) { struct.results.write(oprot); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TFetchResultsResp struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.status.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetHasMoreRows()) { optionals.set(0); } if (struct.isSetResults()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetHasMoreRows()) { oprot.writeBool(struct.hasMoreRows); } if (struct.isSetResults()) { struct.results.write(oprot); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TFetchResultsResp struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.status.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetHasMoreRows()) { optionals.set(0); } if (struct.isSetResults()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetHasMoreRows()) { oprot.writeBool(struct.hasMoreRows); } if (struct.isSetResults()) { struct.results.write(oprot); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TFetchResultsResp struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.status.write(oprot); BitSet optionals = new BitSet(); if (struct.isSetHasMoreRows()) { optionals.set(0); } if (struct.isSetResults()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetHasMoreRows()) { oprot.writeBool(struct.hasMoreRows); } if (struct.isSetResults()) { struct.results.write(oprot); } }
/** * Performs a deep copy on <i>other</i>. */ public TFetchResultsResp(TFetchResultsResp other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStatus()) { this.status = new TStatus(other.status); } this.hasMoreRows = other.hasMoreRows; if (other.isSetResults()) { this.results = new TRowSet(other.results); } }
/** * Performs a deep copy on <i>other</i>. */ public TFetchResultsResp(TFetchResultsResp other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStatus()) { this.status = new TStatus(other.status); } this.hasMoreRows = other.hasMoreRows; if (other.isSetResults()) { this.results = new TRowSet(other.results); } }
/** * Performs a deep copy on <i>other</i>. */ public TFetchResultsResp(TFetchResultsResp other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStatus()) { this.status = new TStatus(other.status); } this.hasMoreRows = other.hasMoreRows; if (other.isSetResults()) { this.results = new TRowSet(other.results); } }
/** * Performs a deep copy on <i>other</i>. */ public TFetchResultsResp(TFetchResultsResp other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStatus()) { this.status = new TStatus(other.status); } this.hasMoreRows = other.hasMoreRows; if (other.isSetResults()) { this.results = new TRowSet(other.results); } }