Class DirectPacked64SingleBlockReader

All Implemented Interfaces:
Accountable

final class DirectPacked64SingleBlockReader extends PackedInts.ReaderImpl
  • Field Details

    • in

      private final IndexInput in
    • bitsPerValue

      private final int bitsPerValue
    • startPointer

      private final long startPointer
    • valuesPerBlock

      private final int valuesPerBlock
    • mask

      private final long mask
  • Constructor Details

    • DirectPacked64SingleBlockReader

      DirectPacked64SingleBlockReader(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.