Class BlockPackedReader

    • Field Detail

      • blockShift

        private final int blockShift
      • blockMask

        private final int blockMask
      • valueCount

        private final long valueCount
      • minValues

        private final long[] minValues
      • sumBPV

        private final long sumBPV
    • Constructor Detail

      • BlockPackedReader

        public BlockPackedReader​(IndexInput in,
                                 int packedIntsVersion,
                                 int blockSize,
                                 long valueCount,
                                 boolean direct)
                          throws java.io.IOException
        Sole constructor.
        Throws:
        java.io.IOException
    • Method Detail

      • get

        public long get​(long index)
        Description copied from class: LongValues
        Get value at index.
        Specified by:
        get in class LongValues
      • ramBytesUsed

        public long ramBytesUsed()
        Description copied from interface: Accountable
        Return the memory usage of this object in bytes. Negative values are illegal.
        Specified by:
        ramBytesUsed in interface Accountable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object