public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetSessionHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'sessionHandle' is unset! Struct:" + toString()); } if (!isSetStatement()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statement' is unset! Struct:" + toString()); } // check for sub-struct validity if (sessionHandle != null) { sessionHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetSessionHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'sessionHandle' is unset! Struct:" + toString()); } if (!isSetStatement()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statement' is unset! Struct:" + toString()); } // check for sub-struct validity if (sessionHandle != null) { sessionHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetSessionHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'sessionHandle' is unset! Struct:" + toString()); } if (!isSetStatement()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statement' is unset! Struct:" + toString()); } // check for sub-struct validity if (sessionHandle != null) { sessionHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetSessionHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'sessionHandle' is unset! Struct:" + toString()); } if (!isSetStatement()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statement' is unset! Struct:" + toString()); } // check for sub-struct validity if (sessionHandle != null) { sessionHandle.validate(); } }