Class MonotonicBlockPackedReader

    • Constructor Summary

      Constructor Description
      MonotonicBlockPackedReader​(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct)
      Sole constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long get​(long index)
      Get value at index.
      long ramBytesUsed()
      Returns the approximate RAM bytes used
      long size()
      Returns the number of values
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MonotonicBlockPackedReader

        public MonotonicBlockPackedReader​(IndexInput in,
                                          int packedIntsVersion,
                                          int blockSize,
                                          long valueCount,
                                          boolean direct)
        Sole constructor.
    • Method Detail

      • get

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

        public long size()
        Returns the number of values
      • ramBytesUsed

        public long ramBytesUsed()
        Returns the approximate RAM bytes used