static final class NumericDocValuesFieldUpdates.Iterator extends DocValuesFieldUpdates.Iterator
| Modifier and Type | Field and Description |
|---|---|
private int |
doc |
private PagedMutable |
docs |
private long |
idx |
private int |
size |
private java.lang.Long |
value |
private PagedGrowableWriter |
values |
| Constructor and Description |
|---|
Iterator(int size,
PagedGrowableWriter values,
PagedMutable docs) |
| 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) java.lang.Long |
value()
Returns the value of the document returned from
DocValuesFieldUpdates.Iterator.nextDoc(). |
private final int size
private final PagedGrowableWriter values
private final PagedMutable docs
private long idx
private int doc
private java.lang.Long value
Iterator(int size,
PagedGrowableWriter values,
PagedMutable docs)
java.lang.Long value()
DocValuesFieldUpdates.IteratorDocValuesFieldUpdates.Iterator.nextDoc(). A
null value means that it was unset for this document.value in class DocValuesFieldUpdates.Iteratorint nextDoc()
DocValuesFieldUpdates.IteratorDocIdSetIterator.NO_MORE_DOCS if there are no more documents to
return.nextDoc in class DocValuesFieldUpdates.Iteratorint doc()
DocValuesFieldUpdates.Iteratordoc in class DocValuesFieldUpdates.Iteratorvoid reset()
DocValuesFieldUpdates.IteratorDocValuesFieldUpdates.Iterator.nextDoc()
and DocValuesFieldUpdates.Iterator.value().reset in class DocValuesFieldUpdates.Iterator