/** 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 STATEMENT_ID: return isSetStatementId(); case PARAMETER_META_DATA: return isSetParameterMetaData(); case RESULT_SET_META_DATA: return isSetResultSetMetaData(); case WARNINGS: return isSetWarnings(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetStatementId()).compareTo(other.isSetStatementId()); if (lastComparison != 0) { return lastComparison; if (isSetStatementId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statementId, other.statementId); if (lastComparison != 0) {
if (!struct.isSetStatementId()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statementId' was not found in serialized data! Struct: " + toString());