lastComparison = Boolean.valueOf(isSetMin_surrogate_key()).compareTo(other.isSetMin_surrogate_key()); if (lastComparison != 0) { return lastComparison; if (isSetMin_surrogate_key()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.min_surrogate_key, other.min_surrogate_key); 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 MIN_SURROGATE_KEY: return isSetMin_surrogate_key(); case MAX_SURROGATE_KEY: return isSetMax_surrogate_key(); case START_OFFSET: return isSetStart_offset(); case END_OFFSET: return isSetEnd_offset(); case CHUNK_COUNT: return isSetChunk_count(); case SEGMENT_ID: return isSetSegment_id(); } throw new IllegalStateException(); }
if (!struct.isSetMin_surrogate_key()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'min_surrogate_key' was not found in serialized data! Struct: " + toString());