@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(); }
/** * 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); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatus()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'status' is unset! Struct:" + toString()); } // check for sub-struct validity if (status != null) { status.validate(); } if (results != null) { results.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatus()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'status' is unset! Struct:" + toString()); } // check for sub-struct validity if (status != null) { status.validate(); } if (results != null) { results.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatus()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'status' is unset! Struct:" + toString()); } // check for sub-struct validity if (status != null) { status.validate(); } if (results != null) { results.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatus()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'status' is unset! Struct:" + toString()); } // check for sub-struct validity if (status != null) { status.validate(); } if (results != null) { results.validate(); } }
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; }
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; }