static final class BinaryDocValuesFieldUpdates.Iterator extends DocValuesFieldUpdates.Iterator
Modifier and Type | Field and Description |
---|---|
private int |
doc |
private PagedMutable |
docs |
private long |
idx |
private int |
length |
private PagedGrowableWriter |
lengths |
private int |
offset |
private PagedGrowableWriter |
offsets |
private int |
size |
private BytesRef |
value |
Constructor and Description |
---|
Iterator(int size,
PagedGrowableWriter offsets,
PagedGrowableWriter lengths,
PagedMutable docs,
BytesRef values) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
doc()
Returns the current document this iterator is on.
|
(package private) int |
nextDoc()
Returns the next document which has an update, or
DocIdSetIterator.NO_MORE_DOCS if there are no more documents to
return. |
(package private) void |
reset()
Reset the iterator's state.
|
(package private) BytesRef |
value()
Returns the value of the document returned from
DocValuesFieldUpdates.Iterator.nextDoc() . |
private final PagedGrowableWriter offsets
private final int size
private final PagedGrowableWriter lengths
private final PagedMutable docs
private long idx
private int doc
private final BytesRef value
private int offset
private int length
Iterator(int size, PagedGrowableWriter offsets, PagedGrowableWriter lengths, PagedMutable docs, BytesRef values)
BytesRef value()
DocValuesFieldUpdates.Iterator
DocValuesFieldUpdates.Iterator.nextDoc()
. A
null
value means that it was unset for this document.value
in class DocValuesFieldUpdates.Iterator
int nextDoc()
DocValuesFieldUpdates.Iterator
DocIdSetIterator.NO_MORE_DOCS
if there are no more documents to
return.nextDoc
in class DocValuesFieldUpdates.Iterator
int doc()
DocValuesFieldUpdates.Iterator
doc
in class DocValuesFieldUpdates.Iterator
void reset()
DocValuesFieldUpdates.Iterator
DocValuesFieldUpdates.Iterator.nextDoc()
and DocValuesFieldUpdates.Iterator.value()
.reset
in class DocValuesFieldUpdates.Iterator