Enum Class CompressionFactory.LongEncodingStrategy

java.lang.Object
java.lang.Enum<CompressionFactory.LongEncodingStrategy>
org.apache.druid.segment.data.CompressionFactory.LongEncodingStrategy
All Implemented Interfaces:
Serializable, Comparable<CompressionFactory.LongEncodingStrategy>, Constable
Enclosing class:
CompressionFactory

public static enum CompressionFactory.LongEncodingStrategy extends Enum<CompressionFactory.LongEncodingStrategy>
The compression of decompression of encodings are separated into different enums. EncodingStrategy refers to the strategy used to encode the data, and EncodingFormat refers to the format the data is encoded in. Note there is not necessarily an one-to-one mapping between to two. For instance, the AUTO LongEncodingStrategy scans the data once and decide on which LongEncodingFormat to use based on data property, so it's possible for the EncodingStrategy to write in any of the LongEncodingFormat. On the other hand, there are no LongEncodingStrategy that always write in TABLE LongEncodingFormat since it only works for data with low cardinality.