boolean first = true; if (isSetResultSet()) { sb.append("resultSet:"); if (this.resultSet == null) {
lastComparison = Boolean.valueOf(isSetResultSet()).compareTo(other.isSetResultSet()); if (lastComparison != 0) { return lastComparison; if (isSetResultSet()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resultSet, other.resultSet); if (lastComparison != 0) {
/** 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 RESULT_SET: return isSetResultSet(); case UPDATE_COUNT: return isSetUpdateCount(); case BATCH_UPDATE_COUNTS: return isSetBatchUpdateCounts(); case PROCEDURE_OUT_PARAMS: return isSetProcedureOutParams(); case GENERATED_KEYS: return isSetGeneratedKeys(); case WARNINGS: return isSetWarnings(); case PREPARED_RESULT: return isSetPreparedResult(); } throw new IllegalStateException(); }
if (struct.isSetResultSet()) { oprot.writeFieldBegin(RESULT_SET_FIELD_DESC); struct.resultSet.write(oprot);
TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetResultSet()) { optionals.set(0); if (struct.isSetResultSet()) { struct.resultSet.write(oprot);
/** * Performs a deep copy on <i>other</i>. */ public StatementResult(StatementResult other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetResultSet()) { this.resultSet = new RowSet(other.resultSet); } this.updateCount = other.updateCount; if (other.isSetBatchUpdateCounts()) { List<Integer> __this__batchUpdateCounts = new ArrayList<Integer>(other.batchUpdateCounts); this.batchUpdateCounts = __this__batchUpdateCounts; } if (other.isSetProcedureOutParams()) { this.procedureOutParams = new Row(other.procedureOutParams); } if (other.isSetGeneratedKeys()) { this.generatedKeys = new RowSet(other.generatedKeys); } if (other.isSetWarnings()) { this.warnings = new GFXDExceptionData(other.warnings); } if (other.isSetPreparedResult()) { this.preparedResult = new PrepareResult(other.preparedResult); } }
return false; boolean this_present_resultSet = true && this.isSetResultSet(); boolean that_present_resultSet = true && that.isSetResultSet(); if (this_present_resultSet || that_present_resultSet) { if (!(this_present_resultSet && that_present_resultSet))