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