Class BitPackingValuesWriter

java.lang.Object
org.apache.parquet.column.values.ValuesWriter
org.apache.parquet.column.values.bitpacking.BitPackingValuesWriter
All Implemented Interfaces:
AutoCloseable

public class BitPackingValuesWriter extends ValuesWriter
a column writer that packs the ints in the number of bits required based on the maximum size.
  • Constructor Details

    • BitPackingValuesWriter

      public BitPackingValuesWriter(int bound, int initialCapacity, int pageSize, org.apache.parquet.bytes.ByteBufferAllocator allocator)
      Parameters:
      bound - the maximum value stored by this column
      initialCapacity - initial capacity for the writer
      pageSize - the page size
      allocator - a buffer allocator
  • Method Details