Class DeltaBinaryPackingValuesReader

    • Constructor Detail

      • DeltaBinaryPackingValuesReader

        public DeltaBinaryPackingValuesReader()
    • Method Detail

      • initFromPage

        public void initFromPage​(int valueCount,
                                 org.apache.parquet.bytes.ByteBufferInputStream stream)
                          throws IOException
        eagerly loads all the data into memory
        Overrides:
        initFromPage in class ValuesReader
        Parameters:
        valueCount - count of values in this page
        stream - an input stream containing the page data at the correct offset
        Throws:
        IOException - if there is an exception while reading from the input stream
      • skip

        public void skip()
        Description copied from class: ValuesReader
        Skips the next value in the page
        Specified by:
        skip in class ValuesReader
      • skip

        public void skip​(int n)
        Description copied from class: ValuesReader
        Skips the next n values in the page
        Overrides:
        skip in class ValuesReader
        Parameters:
        n - the number of values to be skipped
      • readInteger

        public int readInteger()
        Overrides:
        readInteger in class ValuesReader
        Returns:
        the next integer from the page
      • readLong

        public long readLong()
        Overrides:
        readLong in class ValuesReader
        Returns:
        the next long from the page