@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(); }
lastComparison = Boolean.valueOf(isSetOrientation()).compareTo(typedOther.isSetOrientation()); if (lastComparison != 0) { return lastComparison; if (isSetOrientation()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orientation, typedOther.orientation); if (lastComparison != 0) {
boolean this_present_orientation = true && this.isSetOrientation(); boolean that_present_orientation = true && that.isSetOrientation(); if (this_present_orientation || that_present_orientation) { if (!(this_present_orientation && that_present_orientation))
boolean this_present_orientation = true && this.isSetOrientation(); boolean that_present_orientation = true && that.isSetOrientation(); if (this_present_orientation || that_present_orientation) { if (!(this_present_orientation && that_present_orientation))
boolean this_present_orientation = true && this.isSetOrientation(); boolean that_present_orientation = true && that.isSetOrientation(); if (this_present_orientation || that_present_orientation) { if (!(this_present_orientation && that_present_orientation))
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(); } }