@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(); }
@Override public String toString() { StringBuilder sb = new StringBuilder("TFetchResultsResp("); boolean first = true; sb.append("status:"); if (this.status == null) { sb.append("null"); } else { sb.append(this.status); } first = false; if (isSetHasMoreRows()) { if (!first) sb.append(", "); sb.append("hasMoreRows:"); sb.append(this.hasMoreRows); first = false; } if (isSetResults()) { if (!first) sb.append(", "); sb.append("results:"); if (this.results == null) { sb.append("null"); } else { sb.append(this.results); } first = false; } sb.append(")"); return sb.toString(); }
@Override public String toString() { StringBuilder sb = new StringBuilder("TFetchResultsResp("); boolean first = true; sb.append("status:"); if (this.status == null) { sb.append("null"); } else { sb.append(this.status); } first = false; if (isSetHasMoreRows()) { if (!first) sb.append(", "); sb.append("hasMoreRows:"); sb.append(this.hasMoreRows); first = false; } if (isSetResults()) { if (!first) sb.append(", "); sb.append("results:"); if (this.results == null) { sb.append("null"); } else { sb.append(this.results); } first = false; } sb.append(")"); return sb.toString(); }
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); } }
public boolean equals(TFetchResultsResp that) { if (that == null) return false; boolean this_present_status = true && this.isSetStatus(); boolean that_present_status = true && that.isSetStatus(); if (this_present_status || that_present_status) { if (!(this_present_status && that_present_status)) return false; if (!this.status.equals(that.status)) return false; } boolean this_present_hasMoreRows = true && this.isSetHasMoreRows(); boolean that_present_hasMoreRows = true && that.isSetHasMoreRows(); if (this_present_hasMoreRows || that_present_hasMoreRows) { if (!(this_present_hasMoreRows && that_present_hasMoreRows)) return false; if (this.hasMoreRows != that.hasMoreRows) return false; } boolean this_present_results = true && this.isSetResults(); boolean that_present_results = true && that.isSetResults(); if (this_present_results || that_present_results) { if (!(this_present_results && that_present_results)) return false; if (!this.results.equals(that.results)) return false; } return true; }
public boolean equals(TFetchResultsResp that) { if (that == null) return false; boolean this_present_status = true && this.isSetStatus(); boolean that_present_status = true && that.isSetStatus(); if (this_present_status || that_present_status) { if (!(this_present_status && that_present_status)) return false; if (!this.status.equals(that.status)) return false; } boolean this_present_hasMoreRows = true && this.isSetHasMoreRows(); boolean that_present_hasMoreRows = true && that.isSetHasMoreRows(); if (this_present_hasMoreRows || that_present_hasMoreRows) { if (!(this_present_hasMoreRows && that_present_hasMoreRows)) return false; if (this.hasMoreRows != that.hasMoreRows) return false; } boolean this_present_results = true && this.isSetResults(); boolean that_present_results = true && that.isSetResults(); if (this_present_results || that_present_results) { if (!(this_present_results && that_present_results)) return false; if (!this.results.equals(that.results)) return false; } return true; }