Package org.apache.lucene.util.packed
Class PackedReaderIterator
- java.lang.Object
-
- org.apache.lucene.util.packed.PackedInts.ReaderIteratorImpl
-
- org.apache.lucene.util.packed.PackedReaderIterator
-
- All Implemented Interfaces:
PackedInts.ReaderIterator
final class PackedReaderIterator extends PackedInts.ReaderIteratorImpl
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BulkOperationbulkOperation(package private) PackedInts.Formatformat(package private) intiterations(package private) byte[]nextBlocks(package private) LongsRefnextValues(package private) intpackedIntsVersion(package private) intposition-
Fields inherited from class org.apache.lucene.util.packed.PackedInts.ReaderIteratorImpl
bitsPerValue, in, valueCount
-
-
Constructor Summary
Constructors Constructor Description PackedReaderIterator(PackedInts.Format format, int packedIntsVersion, int valueCount, int bitsPerValue, DataInput in, int mem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongsRefnext(int count)Returns at least 1 and at mostcountnext values, the returned ref MUST NOT be modifiedintord()Returns the current position-
Methods inherited from class org.apache.lucene.util.packed.PackedInts.ReaderIteratorImpl
getBitsPerValue, next, size
-
-
-
-
Field Detail
-
packedIntsVersion
final int packedIntsVersion
-
format
final PackedInts.Format format
-
bulkOperation
final BulkOperation bulkOperation
-
nextBlocks
final byte[] nextBlocks
-
nextValues
final LongsRef nextValues
-
iterations
final int iterations
-
position
int position
-
-
Constructor Detail
-
PackedReaderIterator
PackedReaderIterator(PackedInts.Format format, int packedIntsVersion, int valueCount, int bitsPerValue, DataInput in, int mem)
-
-
Method Detail
-
next
public LongsRef next(int count) throws java.io.IOException
Description copied from interface:PackedInts.ReaderIteratorReturns at least 1 and at mostcountnext values, the returned ref MUST NOT be modified- Throws:
java.io.IOException
-
ord
public int ord()
Description copied from interface:PackedInts.ReaderIteratorReturns the current position
-
-