first = false; if (isSetSplit()) { if (!first) sb.append(", "); sb.append("split:");
oprot.writeFieldEnd(); if (struct.isSetSplit()) { oprot.writeFieldBegin(SPLIT_FIELD_DESC); oprot.writeBool(struct.split);
lastComparison = java.lang.Boolean.valueOf(isSetSplit()).compareTo(other.isSetSplit()); if (lastComparison != 0) { return lastComparison; if (isSetSplit()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.split, other.split); 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 java.lang.IllegalArgumentException(); } switch (field) { case REGION_ID: return isSetRegionId(); case TABLE_NAME: return isSetTableName(); case START_KEY: return isSetStartKey(); case END_KEY: return isSetEndKey(); case OFFLINE: return isSetOffline(); case SPLIT: return isSetSplit(); case REPLICA_ID: return isSetReplicaId(); } throw new java.lang.IllegalStateException(); }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(regionId); hashCode = hashCode * 8191 + ((isSetTableName()) ? 131071 : 524287); if (isSetTableName()) hashCode = hashCode * 8191 + tableName.hashCode(); hashCode = hashCode * 8191 + ((isSetStartKey()) ? 131071 : 524287); if (isSetStartKey()) hashCode = hashCode * 8191 + startKey.hashCode(); hashCode = hashCode * 8191 + ((isSetEndKey()) ? 131071 : 524287); if (isSetEndKey()) hashCode = hashCode * 8191 + endKey.hashCode(); hashCode = hashCode * 8191 + ((isSetOffline()) ? 131071 : 524287); if (isSetOffline()) hashCode = hashCode * 8191 + ((offline) ? 131071 : 524287); hashCode = hashCode * 8191 + ((isSetSplit()) ? 131071 : 524287); if (isSetSplit()) hashCode = hashCode * 8191 + ((split) ? 131071 : 524287); hashCode = hashCode * 8191 + ((isSetReplicaId()) ? 131071 : 524287); if (isSetReplicaId()) hashCode = hashCode * 8191 + replicaId; return hashCode; }
optionals.set(2); if (struct.isSetSplit()) { optionals.set(3); oprot.writeBool(struct.offline); if (struct.isSetSplit()) { oprot.writeBool(struct.split);
boolean this_present_split = true && this.isSetSplit(); boolean that_present_split = true && that.isSetSplit(); if (this_present_split || that_present_split) { if (!(this_present_split && that_present_split))
list.add(offline); boolean present_split = true && (isSetSplit()); list.add(present_split); if (present_split)
list.add(offline); boolean present_split = true && (isSetSplit()); list.add(present_split); if (present_split)
first = false; if (isSetSplit()) { if (!first) sb.append(", "); sb.append("split:");
first = false; if (isSetSplit()) { if (!first) sb.append(", "); sb.append("split:");
oprot.writeFieldEnd(); if (struct.isSetSplit()) { oprot.writeFieldBegin(SPLIT_FIELD_DESC); oprot.writeBool(struct.split);
oprot.writeFieldEnd(); if (struct.isSetSplit()) { oprot.writeFieldBegin(SPLIT_FIELD_DESC); oprot.writeBool(struct.split);
lastComparison = Boolean.valueOf(isSetSplit()).compareTo(other.isSetSplit()); if (lastComparison != 0) { return lastComparison; if (isSetSplit()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.split, other.split); 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 REGION_ID: return isSetRegionId(); case TABLE_NAME: return isSetTableName(); case START_KEY: return isSetStartKey(); case END_KEY: return isSetEndKey(); case OFFLINE: return isSetOffline(); case SPLIT: return isSetSplit(); case REPLICA_ID: return isSetReplicaId(); } throw new IllegalStateException(); }
/** 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 REGION_ID: return isSetRegionId(); case TABLE_NAME: return isSetTableName(); case START_KEY: return isSetStartKey(); case END_KEY: return isSetEndKey(); case OFFLINE: return isSetOffline(); case SPLIT: return isSetSplit(); case REPLICA_ID: return isSetReplicaId(); } throw new IllegalStateException(); }
optionals.set(2); if (struct.isSetSplit()) { optionals.set(3); oprot.writeBool(struct.offline); if (struct.isSetSplit()) { oprot.writeBool(struct.split);
boolean this_present_split = true && this.isSetSplit(); boolean that_present_split = true && that.isSetSplit(); if (this_present_split || that_present_split) { if (!(this_present_split && that_present_split))
boolean this_present_split = true && this.isSetSplit(); boolean that_present_split = true && that.isSetSplit(); if (this_present_split || that_present_split) { if (!(this_present_split && that_present_split))
optionals.set(2); if (struct.isSetSplit()) { optionals.set(3); oprot.writeBool(struct.offline); if (struct.isSetSplit()) { oprot.writeBool(struct.split);