Class RegularDataDecoder.LongRegularDecoder

    • Constructor Detail

      • LongRegularDecoder

        public LongRegularDecoder()
    • Method Detail

      • readT

        protected long readT​(java.nio.ByteBuffer buffer)
        if there's no decoded data left, decode next pack into data.
        Parameters:
        buffer - ByteBuffer
        Returns:
        long value
      • loadWithBitmap

        protected long loadWithBitmap​(java.nio.ByteBuffer buffer)
        load the data with bitmap (when bitmap denote the element with false, load next element)
        Parameters:
        buffer -
        Returns:
        long value
      • loadIntBatch

        protected long loadIntBatch​(java.nio.ByteBuffer buffer)
        if remaining data has been run out, load next pack from InputStream.
        Parameters:
        buffer - ByteBuffer
        Returns:
        long value
      • readLong

        public long readLong​(java.nio.ByteBuffer buffer)
        Overrides:
        readLong in class Decoder
      • reset

        public void reset()
        Specified by:
        reset in class Decoder