Module org.apache.lucene.monitor
Package org.apache.lucene.monitor
Class TermFilteredPresearcher.BytesRefHashIterator
java.lang.Object
org.apache.lucene.monitor.TermFilteredPresearcher.BytesRefHashIterator
- All Implemented Interfaces:
BytesRefIterator
- Enclosing class:
TermFilteredPresearcher
protected class TermFilteredPresearcher.BytesRefHashIterator
extends Object
implements BytesRefIterator
Implements a
BytesRefIterator over a BytesRefHash-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BytesRef(package private) final int[](package private) final BytesRefHash(package private) intFields inherited from interface org.apache.lucene.util.BytesRefIterator
EMPTY -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
scratch
-
terms
-
sortedTerms
final int[] sortedTerms -
upto
int upto
-
-
Constructor Details
-
BytesRefHashIterator
BytesRefHashIterator(BytesRefHash terms)
-
-
Method Details
-
next
Description copied from interface:BytesRefIteratorIncrements the iteration to the nextBytesRefin the iterator. Returns the resultingBytesRefornullif the end of the iterator is reached. The returned BytesRef may be re-used across calls to next. After this method returns null, do not call it again: the results are undefined.- Specified by:
nextin interfaceBytesRefIterator- Returns:
- the next
BytesRefin the iterator ornullif the end of the iterator is reached.
-