if (isSetStartKey()) { if (!first) sb.append(", "); sb.append("startKey:");
lastComparison = java.lang.Boolean.valueOf(isSetStartKey()).compareTo(other.isSetStartKey()); if (lastComparison != 0) { return lastComparison; if (isSetStartKey()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startKey, other.startKey); if (lastComparison != 0) {
if (struct.isSetStartKey()) { oprot.writeFieldBegin(START_KEY_FIELD_DESC); oprot.writeBinary(struct.startKey);
@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; }
/** 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(); }
oprot.writeBinary(struct.tableName); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetStartKey()) { optionals.set(0); if (struct.isSetStartKey()) { oprot.writeBinary(struct.startKey);
boolean this_present_startKey = true && this.isSetStartKey(); boolean that_present_startKey = true && that.isSetStartKey(); if (this_present_startKey || that_present_startKey) { if (!(this_present_startKey && that_present_startKey))
/** * Performs a deep copy on <i>other</i>. */ public THRegionInfo(THRegionInfo other) { __isset_bitfield = other.__isset_bitfield; this.regionId = other.regionId; if (other.isSetTableName()) { this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetStartKey()) { this.startKey = org.apache.thrift.TBaseHelper.copyBinary(other.startKey); } if (other.isSetEndKey()) { this.endKey = org.apache.thrift.TBaseHelper.copyBinary(other.endKey); } this.offline = other.offline; this.split = other.split; this.replicaId = other.replicaId; }
list.add(tableName); boolean present_startKey = true && (isSetStartKey()); list.add(present_startKey); if (present_startKey)
list.add(tableName); boolean present_startKey = true && (isSetStartKey()); list.add(present_startKey); if (present_startKey)
if (isSetStartKey()) { if (!first) sb.append(", "); sb.append("startKey:");
if (isSetStartKey()) { if (!first) sb.append(", "); sb.append("startKey:");
if (struct.isSetStartKey()) { oprot.writeFieldBegin(START_KEY_FIELD_DESC); oprot.writeBinary(struct.startKey);
if (struct.isSetStartKey()) { oprot.writeFieldBegin(START_KEY_FIELD_DESC); oprot.writeBinary(struct.startKey);
/** 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(); }
oprot.writeBinary(struct.tableName); BitSet optionals = new BitSet(); if (struct.isSetStartKey()) { optionals.set(0); if (struct.isSetStartKey()) { oprot.writeBinary(struct.startKey);
/** * Performs a deep copy on <i>other</i>. */ public THRegionInfo(THRegionInfo other) { __isset_bitfield = other.__isset_bitfield; this.regionId = other.regionId; if (other.isSetTableName()) { this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetStartKey()) { this.startKey = org.apache.thrift.TBaseHelper.copyBinary(other.startKey); } if (other.isSetEndKey()) { this.endKey = org.apache.thrift.TBaseHelper.copyBinary(other.endKey); } this.offline = other.offline; this.split = other.split; this.replicaId = other.replicaId; }
/** * Performs a deep copy on <i>other</i>. */ public THRegionInfo(THRegionInfo other) { __isset_bitfield = other.__isset_bitfield; this.regionId = other.regionId; if (other.isSetTableName()) { this.tableName = org.apache.thrift.TBaseHelper.copyBinary(other.tableName); } if (other.isSetStartKey()) { this.startKey = org.apache.thrift.TBaseHelper.copyBinary(other.startKey); } if (other.isSetEndKey()) { this.endKey = org.apache.thrift.TBaseHelper.copyBinary(other.endKey); } this.offline = other.offline; this.split = other.split; this.replicaId = other.replicaId; }
oprot.writeBinary(struct.tableName); BitSet optionals = new BitSet(); if (struct.isSetStartKey()) { optionals.set(0); if (struct.isSetStartKey()) { oprot.writeBinary(struct.startKey);