first = false; if (isSetPartial()) { if (!first) sb.append(", "); sb.append("partial:");
/** 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 java.lang.IllegalArgumentException(); } switch (field) { case ROW: return isSetRow(); case COLUMN_VALUES: return isSetColumnValues(); case STALE: return isSetStale(); case PARTIAL: return isSetPartial(); } throw new java.lang.IllegalStateException(); }
lastComparison = java.lang.Boolean.valueOf(isSetPartial()).compareTo(other.isSetPartial()); if (lastComparison != 0) { return lastComparison; if (isSetPartial()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partial, other.partial); if (lastComparison != 0) {
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetRow()) ? 131071 : 524287); if (isSetRow()) hashCode = hashCode * 8191 + row.hashCode(); hashCode = hashCode * 8191 + ((isSetColumnValues()) ? 131071 : 524287); if (isSetColumnValues()) hashCode = hashCode * 8191 + columnValues.hashCode(); hashCode = hashCode * 8191 + ((isSetStale()) ? 131071 : 524287); if (isSetStale()) hashCode = hashCode * 8191 + ((stale) ? 131071 : 524287); hashCode = hashCode * 8191 + ((isSetPartial()) ? 131071 : 524287); if (isSetPartial()) hashCode = hashCode * 8191 + ((partial) ? 131071 : 524287); return hashCode; }
oprot.writeFieldEnd(); if (struct.isSetPartial()) { oprot.writeFieldBegin(PARTIAL_FIELD_DESC); oprot.writeBool(struct.partial);
boolean this_present_partial = true && this.isSetPartial(); boolean that_present_partial = true && that.isSetPartial(); if (this_present_partial || that_present_partial) { if (!(this_present_partial && that_present_partial))
optionals.set(1); if (struct.isSetPartial()) { optionals.set(2); oprot.writeBool(struct.stale); if (struct.isSetPartial()) { oprot.writeBool(struct.partial);