Class BlockPackedReaderIterator

java.lang.Object
org.apache.lucene.util.packed.BlockPackedReaderIterator

public final class BlockPackedReaderIterator extends Object
Reader for sequences of longs written with BlockPackedWriter.
See Also:
  • Field Details

    • in

    • packedIntsVersion

      final int packedIntsVersion
    • valueCount

      long valueCount
    • blockSize

      final int blockSize
    • values

      final long[] values
    • valuesRef

      final LongsRef valuesRef
    • blocks

      byte[] blocks
    • off

      int off
    • ord

      long ord
  • Constructor Details

    • BlockPackedReaderIterator

      public BlockPackedReaderIterator(DataInput in, int packedIntsVersion, int blockSize, long valueCount)
      Sole constructor.
      Parameters:
      blockSize - the number of values of a block, must be equal to the block size of the BlockPackedWriter which has been used to write the stream
  • Method Details