if (isSetPreparedResult()) { if (!first) sb.append(", "); sb.append("preparedResult:");
lastComparison = Boolean.valueOf(isSetPreparedResult()).compareTo(other.isSetPreparedResult()); if (lastComparison != 0) { return lastComparison; if (isSetPreparedResult()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preparedResult, other.preparedResult); 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.isSetPreparedResult()) { oprot.writeFieldBegin(PREPARED_RESULT_FIELD_DESC); struct.preparedResult.write(oprot);
optionals.set(5); if (struct.isSetPreparedResult()) { optionals.set(6); struct.warnings.write(oprot); if (struct.isSetPreparedResult()) { struct.preparedResult.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); } }
boolean this_present_preparedResult = true && this.isSetPreparedResult(); boolean that_present_preparedResult = true && that.isSetPreparedResult(); if (this_present_preparedResult || that_present_preparedResult) { if (!(this_present_preparedResult && that_present_preparedResult))