Class V3CompressedVSizeColumnarMultiIntsSupplier

java.lang.Object
org.apache.druid.segment.data.V3CompressedVSizeColumnarMultiIntsSupplier
All Implemented Interfaces:
com.google.common.base.Supplier<ColumnarMultiInts>, Supplier<ColumnarMultiInts>, WritableSupplier<ColumnarMultiInts>, Serializer

public class V3CompressedVSizeColumnarMultiIntsSupplier extends Object implements WritableSupplier<ColumnarMultiInts>
The format is mostly the same with CompressedVSizeColumnarMultiIntsSupplier (which has version 0x2, so we call it V2), the only difference is V3's offsets is not VSize encoded, it's just compressed. The reason we provide this is we can streams the data out in the binary format with V3CompressedVSizeColumnarMultiIntsSerializer. If we want to streams VSizeInts, we must know the max value in the value sets. It's easy to know the max id of values(like dimension cardinality while encoding dimension), but difficult to known the max id of offsets.