Class FixedBitMVEntryDictForwardIndexWriter

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class FixedBitMVEntryDictForwardIndexWriter
    extends Object
    implements Closeable
    Bit-compressed dictionary-encoded forward index writer for multi-value columns, where a second level dictionary encoding for multi-value entries (instead of individual values within the entry) are maintained within the forward index. Index layout: - Index header (24 bytes) - ID buffer (stores the multi-value entry id for each doc id) - Offset buffer (stores the start offset of each multi-value entry, followed by end offset of the last value) - Value buffer (stores the individual values) Header layout: - Magic marker (4 bytes) - Version (2 bytes) - Bits per value (1 byte) - Bits per id (1 byte) - Number of unique MV entries (4 bytes) - Number of total values (4 bytes) - Start offset of offset buffer (4 bytes) - Start offset of value buffer (4 bytes)