/** 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(isSetMaxRows()).compareTo(typedOther.isSetMaxRows()); if (lastComparison != 0) { return lastComparison; if (isSetMaxRows()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxRows, typedOther.maxRows); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetMaxRows()).compareTo(typedOther.isSetMaxRows()); if (lastComparison != 0) { return lastComparison; if (isSetMaxRows()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxRows, typedOther.maxRows); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetMaxRows()).compareTo(typedOther.isSetMaxRows()); if (lastComparison != 0) { return lastComparison; if (isSetMaxRows()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxRows, typedOther.maxRows); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetMaxRows()).compareTo(typedOther.isSetMaxRows()); if (lastComparison != 0) { return lastComparison; if (isSetMaxRows()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxRows, typedOther.maxRows); if (lastComparison != 0) {
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(); } }