- java.lang.Object
-
- org.apache.lucene.index.FieldTermIterator
-
- All Implemented Interfaces:
BytesRefIterator
- Direct Known Subclasses:
PrefixCodedTerms.TermIterator
abstract class FieldTermIterator extends java.lang.Object implements BytesRefIterator
Iterates over terms in across multiple fields. The caller must checkfield()
after eachBytesRefIterator.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 Constructor Description FieldTermIterator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (package private) abstract long
delGen()
Del gen of the current term.(package private) abstract java.lang.String
field()
Returns current field.-
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
-
-