Class DirectPackedReader

All Implemented Interfaces:
Accountable

class DirectPackedReader extends PackedInts.ReaderImpl
  • Field Details

    • in

      final IndexInput in
    • bitsPerValue

      final int bitsPerValue
    • startPointer

      final long startPointer
    • valueMask

      final long valueMask
  • Constructor Details

    • DirectPackedReader

      DirectPackedReader(int bitsPerValue, int valueCount, IndexInput in)
  • Method Details

    • 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.