Module org.apache.lucene.core
Package org.apache.lucene.index
Class SortingCodecReader.SortingIteratorSupplier
java.lang.Object
org.apache.lucene.index.SortingCodecReader.SortingIteratorSupplier
- All Implemented Interfaces:
Supplier<SortingCodecReader.SortingValuesIterator>
- Enclosing class:
SortingCodecReader
static class SortingCodecReader.SortingIteratorSupplier
extends Object
implements Supplier<SortingCodecReader.SortingValuesIterator>
Factory for SortingValuesIterator. This enables us to create new iterators as needed without
recomputing the sorting mappings.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
docBits
-
docToOrd
private final int[] docToOrd -
size
private final int size
-
-
Constructor Details
-
SortingIteratorSupplier
SortingIteratorSupplier(FixedBitSet docBits, int[] docToOrd, int size)
-
-
Method Details
-
get
- Specified by:
get
in interfaceSupplier<SortingCodecReader.SortingValuesIterator>
-
size
public int size()
-