/** 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 UPDATE_COUNT: return isSetUpdateCount(); case BATCH_UPDATE_COUNTS: return isSetBatchUpdateCounts(); case GENERATED_KEYS: return isSetGeneratedKeys(); case WARNINGS: return isSetWarnings(); } throw new IllegalStateException(); }
boolean first = true; if (isSetUpdateCount()) { sb.append("updateCount:"); sb.append(this.updateCount);
lastComparison = Boolean.valueOf(isSetUpdateCount()).compareTo(other.isSetUpdateCount()); if (lastComparison != 0) { return lastComparison; if (isSetUpdateCount()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updateCount, other.updateCount); if (lastComparison != 0) {
if (struct.isSetUpdateCount()) { oprot.writeFieldBegin(UPDATE_COUNT_FIELD_DESC); oprot.writeI32(struct.updateCount);
TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetUpdateCount()) { optionals.set(0); if (struct.isSetUpdateCount()) { oprot.writeI32(struct.updateCount);
return false; boolean this_present_updateCount = true && this.isSetUpdateCount(); boolean that_present_updateCount = true && that.isSetUpdateCount(); if (this_present_updateCount || that_present_updateCount) { if (!(this_present_updateCount && that_present_updateCount))