public static class PrefixCodedTerms.TermIterator extends FieldTermIterator
PrefixCodedTerms
.Modifier and Type | Field and Description |
---|---|
(package private) BytesRefBuilder |
builder |
(package private) BytesRef |
bytes |
(package private) long |
delGen |
(package private) long |
end |
(package private) java.lang.String |
field |
(package private) IndexInput |
input |
EMPTY
Modifier | Constructor and Description |
---|---|
private |
TermIterator(long delGen,
RAMFile buffer) |
Modifier and Type | Method and Description |
---|---|
long |
delGen()
Del gen of the current term.
|
java.lang.String |
field()
Returns current field.
|
BytesRef |
next()
Increments the iteration to the next
BytesRef in the iterator. |
private void |
readTermBytes(int prefix,
int suffix) |
final IndexInput input
final BytesRefBuilder builder
final BytesRef bytes
final long end
final long delGen
java.lang.String field
private TermIterator(long delGen, RAMFile buffer)
public BytesRef next()
BytesRefIterator
BytesRef
in the iterator.
Returns the resulting BytesRef
or null
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.BytesRef
in the iterator or null
if
the end of the iterator is reached.private void readTermBytes(int prefix, int suffix) throws java.io.IOException
java.io.IOException
public java.lang.String field()
FieldTermIterator
field
in class FieldTermIterator
public long delGen()
FieldTermIterator
delGen
in class FieldTermIterator