public ColumnDictionaryChunkMeta setStart_offset(long start_offset) { this.start_offset = start_offset; setStart_offsetIsSet(true); return this; }
public ColumnDictionaryChunkMeta( int min_surrogate_key, int max_surrogate_key, long start_offset, long end_offset, int chunk_count) { this(); this.min_surrogate_key = min_surrogate_key; setMin_surrogate_keyIsSet(true); this.max_surrogate_key = max_surrogate_key; setMax_surrogate_keyIsSet(true); this.start_offset = start_offset; setStart_offsetIsSet(true); this.end_offset = end_offset; setEnd_offsetIsSet(true); this.chunk_count = chunk_count; setChunk_countIsSet(true); }
@Override public void clear() { setMin_surrogate_keyIsSet(false); this.min_surrogate_key = 0; setMax_surrogate_keyIsSet(false); this.max_surrogate_key = 0; setStart_offsetIsSet(false); this.start_offset = 0; setEnd_offsetIsSet(false); this.end_offset = 0; setChunk_countIsSet(false); this.chunk_count = 0; setSegment_idIsSet(false); this.segment_id = 0; }
if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.start_offset = iprot.readI64(); struct.setStart_offsetIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, ColumnDictionaryChunkMeta struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.min_surrogate_key = iprot.readI32(); struct.setMin_surrogate_keyIsSet(true); struct.max_surrogate_key = iprot.readI32(); struct.setMax_surrogate_keyIsSet(true); struct.start_offset = iprot.readI64(); struct.setStart_offsetIsSet(true); struct.end_offset = iprot.readI64(); struct.setEnd_offsetIsSet(true); struct.chunk_count = iprot.readI32(); struct.setChunk_countIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.segment_id = iprot.readI64(); struct.setSegment_idIsSet(true); } } }