Class DirectPackedReader

    • Field Detail

      • bitsPerValue

        final int bitsPerValue
      • startPointer

        final long startPointer
      • valueMask

        final long valueMask
    • Constructor Detail

      • DirectPackedReader

        DirectPackedReader​(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.