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 java.lang.Object implements BytesRefIterator
Implements aBytesRefIterator
over aBytesRefHash
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BytesRef
scratch
(package private) int[]
sortedTerms
(package private) BytesRefHash
terms
(package private) int
upto
-
Fields inherited from interface org.apache.lucene.util.BytesRefIterator
EMPTY
-
-
Constructor Summary
Constructors Constructor Description BytesRefHashIterator(BytesRefHash terms)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BytesRef
next()
Increments the iteration to the nextBytesRef
in the iterator.
-
-
-
Field Detail
-
scratch
final BytesRef scratch
-
terms
final BytesRefHash terms
-
sortedTerms
final int[] sortedTerms
-
upto
int upto
-
-
Constructor Detail
-
BytesRefHashIterator
BytesRefHashIterator(BytesRefHash terms)
-
-
Method Detail
-
next
public BytesRef 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.
-
-