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 aBytesRefIteratorover aBytesRefHash
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BytesRefscratch(package private) int[]sortedTerms(package private) BytesRefHashterms(package private) intupto-
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 BytesRefnext()Increments the iteration to the nextBytesRefin 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: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.
-
-