java.lang.Object
org.apache.lucene.index.FieldTermIterator
org.apache.lucene.index.PrefixCodedTerms.TermIterator
- All Implemented Interfaces:
BytesRefIterator
- Enclosing class:
PrefixCodedTerms
An iterator over the list of terms stored in a
PrefixCodedTerms.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BytesRefBuilder(package private) final BytesRef(package private) final long(package private) final long(package private) String(package private) final ByteBuffersDataInputFields inherited from interface org.apache.lucene.util.BytesRefIterator
EMPTY -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
input
-
builder
-
bytes
-
end
final long end -
delGen
final long delGen -
field
String field
-
-
Constructor Details
-
TermIterator
-
-
Method Details
-
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.- Returns:
- the next
BytesRefin the iterator ornullif the end of the iterator is reached.
-
readTermBytes
- Throws:
IOException
-
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.- Specified by:
fieldin classFieldTermIterator
-
delGen
public long delGen()Del gen of the current term.- Specified by:
delGenin classFieldTermIterator
-