Class DirectPacked64SingleBlockReader

    • Field Detail

      • bitsPerValue

        private final int bitsPerValue
      • startPointer

        private final long startPointer
      • valuesPerBlock

        private final int valuesPerBlock
      • mask

        private final long mask
    • Constructor Detail

      • DirectPacked64SingleBlockReader

        DirectPacked64SingleBlockReader​(int bitsPerValue,
                                        int valueCount,
                                        IndexInput in)
    • Method Detail

      • get

        public long get​(int index)
        Description copied from class: PackedInts.Reader
        Get the long at the given index. Behavior is undefined for out-of-range indices.
        Specified by:
        get in class PackedInts.ReaderImpl
      • ramBytesUsed

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