@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); boolean present_orientation = true && (isSetOrientation()); builder.append(present_orientation); if (present_orientation) builder.append(orientation.getValue()); boolean present_maxRows = true; builder.append(present_maxRows); if (present_maxRows) builder.append(maxRows); boolean present_fetchType = true && (isSetFetchType()); builder.append(present_fetchType); if (present_fetchType) builder.append(fetchType); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); boolean present_orientation = true && (isSetOrientation()); builder.append(present_orientation); if (present_orientation) builder.append(orientation.getValue()); boolean present_maxRows = true; builder.append(present_maxRows); if (present_maxRows) builder.append(maxRows); boolean present_fetchType = true && (isSetFetchType()); builder.append(present_fetchType); if (present_fetchType) builder.append(fetchType); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); boolean present_orientation = true && (isSetOrientation()); builder.append(present_orientation); if (present_orientation) builder.append(orientation.getValue()); boolean present_maxRows = true; builder.append(present_maxRows); if (present_maxRows) builder.append(maxRows); boolean present_fetchType = true && (isSetFetchType()); builder.append(present_fetchType); if (present_fetchType) builder.append(fetchType); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); boolean present_orientation = true && (isSetOrientation()); builder.append(present_orientation); if (present_orientation) builder.append(orientation.getValue()); boolean present_maxRows = true; builder.append(present_maxRows); if (present_maxRows) builder.append(maxRows); boolean present_fetchType = true && (isSetFetchType()); builder.append(present_fetchType); if (present_fetchType) builder.append(fetchType); return builder.toHashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public TFetchResultsReq(TFetchResultsReq other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } if (other.isSetOrientation()) { this.orientation = other.orientation; } this.maxRows = other.maxRows; this.fetchType = other.fetchType; }
/** * Performs a deep copy on <i>other</i>. */ public TFetchResultsReq(TFetchResultsReq other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } if (other.isSetOrientation()) { this.orientation = other.orientation; } this.maxRows = other.maxRows; this.fetchType = other.fetchType; }
/** * Performs a deep copy on <i>other</i>. */ public TFetchResultsReq(TFetchResultsReq other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } if (other.isSetOrientation()) { this.orientation = other.orientation; } this.maxRows = other.maxRows; this.fetchType = other.fetchType; }
/** * Performs a deep copy on <i>other</i>. */ public TFetchResultsReq(TFetchResultsReq other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } if (other.isSetOrientation()) { this.orientation = other.orientation; } this.maxRows = other.maxRows; this.fetchType = other.fetchType; }
/** 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 OPERATION_HANDLE: return isSetOperationHandle(); case ORIENTATION: return isSetOrientation(); case MAX_ROWS: return isSetMaxRows(); case FETCH_TYPE: return isSetFetchType(); } 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 OPERATION_HANDLE: return isSetOperationHandle(); case ORIENTATION: return isSetOrientation(); case MAX_ROWS: return isSetMaxRows(); case FETCH_TYPE: return isSetFetchType(); } 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 OPERATION_HANDLE: return isSetOperationHandle(); case ORIENTATION: return isSetOrientation(); case MAX_ROWS: return isSetMaxRows(); case FETCH_TYPE: return isSetFetchType(); } 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 OPERATION_HANDLE: return isSetOperationHandle(); case ORIENTATION: return isSetOrientation(); case MAX_ROWS: return isSetMaxRows(); case FETCH_TYPE: return isSetFetchType(); } throw new IllegalStateException(); }
TFetchResultsReq typedOther = (TFetchResultsReq)other; lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; if (isSetOperationHandle()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); if (lastComparison != 0) {
return false; boolean this_present_operationHandle = true && this.isSetOperationHandle(); boolean that_present_operationHandle = true && that.isSetOperationHandle(); if (this_present_operationHandle || that_present_operationHandle) { if (!(this_present_operationHandle && that_present_operationHandle))
return false; boolean this_present_operationHandle = true && this.isSetOperationHandle(); boolean that_present_operationHandle = true && that.isSetOperationHandle(); if (this_present_operationHandle || that_present_operationHandle) { if (!(this_present_operationHandle && that_present_operationHandle))
return false; boolean this_present_operationHandle = true && this.isSetOperationHandle(); boolean that_present_operationHandle = true && that.isSetOperationHandle(); if (this_present_operationHandle || that_present_operationHandle) { if (!(this_present_operationHandle && that_present_operationHandle))
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetOperationHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'operationHandle' is unset! Struct:" + toString()); } if (!isSetOrientation()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'orientation' is unset! Struct:" + toString()); } if (!isSetMaxRows()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'maxRows' is unset! Struct:" + toString()); } // check for sub-struct validity if (operationHandle != null) { operationHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetOperationHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'operationHandle' is unset! Struct:" + toString()); } if (!isSetOrientation()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'orientation' is unset! Struct:" + toString()); } if (!isSetMaxRows()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'maxRows' is unset! Struct:" + toString()); } // check for sub-struct validity if (operationHandle != null) { operationHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetOperationHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'operationHandle' is unset! Struct:" + toString()); } if (!isSetOrientation()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'orientation' is unset! Struct:" + toString()); } if (!isSetMaxRows()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'maxRows' is unset! Struct:" + toString()); } // check for sub-struct validity if (operationHandle != null) { operationHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetOperationHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'operationHandle' is unset! Struct:" + toString()); } if (!isSetOrientation()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'orientation' is unset! Struct:" + toString()); } if (!isSetMaxRows()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'maxRows' is unset! Struct:" + toString()); } // check for sub-struct validity if (operationHandle != null) { operationHandle.validate(); } }