java.lang.Object
org.apache.lucene.index.FieldTermIterator
- All Implemented Interfaces:
BytesRefIterator
- Direct Known Subclasses:
PrefixCodedTerms.TermIterator
Iterates over terms in across multiple fields. The caller must check
field()
after each
BytesRefIterator.next()
to see if the field changed, but ==
can be used since the iterator
implementation ensures it will use the same String instance for a given field.-
Field Summary
Fields inherited from interface org.apache.lucene.util.BytesRefIterator
EMPTY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.lucene.util.BytesRefIterator
next
-
Constructor Details
-
FieldTermIterator
FieldTermIterator()
-
-
Method Details
-
field
Returns current field. This method should not be called after iteration is done. Note that you may use == to detect a change in field. -
delGen
abstract long delGen()Del gen of the current term.
-