Class DeltaBinaryPackingValuesWriterForLong

    • Constructor Detail

      • DeltaBinaryPackingValuesWriterForLong

        public DeltaBinaryPackingValuesWriterForLong​(int slabSize,
                                                     int pageSize,
                                                     ByteBufferAllocator allocator)
      • DeltaBinaryPackingValuesWriterForLong

        public DeltaBinaryPackingValuesWriterForLong​(int blockSizeInValues,
                                                     int miniBlockNum,
                                                     int slabSize,
                                                     int pageSize,
                                                     ByteBufferAllocator allocator)
    • Method Detail

      • writeLong

        public void writeLong​(long v)
        Overrides:
        writeLong in class ValuesWriter
        Parameters:
        v - the value to encode
      • getBytes

        public BytesInput getBytes()
        getBytes will trigger flushing block buffer, DO NOT write after getBytes() is called without calling reset()
        Specified by:
        getBytes in class ValuesWriter
        Returns:
        a BytesInput that contains the encoded page data