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) int
Fields 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:BytesRefIterator
Increments the iteration to the nextBytesRef
in the iterator. Returns the resultingBytesRef
ornull
if 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:
next
in interfaceBytesRefIterator
- Returns:
- the next
BytesRef
in the iterator ornull
if the end of the iterator is reached.
-