- 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) BulkOperation
bulkOperation
(package private) PackedInts.Format
format
(package private) int
iterations
(package private) byte[]
nextBlocks
(package private) LongsRef
nextValues
(package private) int
packedIntsVersion
(package private) int
position
-
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 LongsRef
next(int count)
Returns at least 1 and at mostcount
next values, the returned ref MUST NOT be modifiedint
ord()
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.ReaderIterator
Returns at least 1 and at mostcount
next values, the returned ref MUST NOT be modified- Throws:
java.io.IOException
-
ord
public int ord()
Description copied from interface:PackedInts.ReaderIterator
Returns the current position
-
-