lastComparison = Boolean.valueOf(isSetMax_surrogate_key()).compareTo(other.isSetMax_surrogate_key()); if (lastComparison != 0) { return lastComparison; if (isSetMax_surrogate_key()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_surrogate_key, other.max_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(); }
throw new org.apache.thrift.protocol.TProtocolException("Required field 'min_surrogate_key' was not found in serialized data! Struct: " + toString()); if (!struct.isSetMax_surrogate_key()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'max_surrogate_key' was not found in serialized data! Struct: " + toString());