static final class NumericDocValuesFieldUpdates.Iterator extends DocValuesFieldUpdates.AbstractIterator
Modifier and Type | Field and Description |
---|---|
private long |
minValue |
private long |
value |
private AbstractPagedMutable<?> |
values |
NO_MORE_DOCS
Constructor and Description |
---|
Iterator(int size,
long minValue,
AbstractPagedMutable<?> values,
PagedMutable docs,
long delGen) |
Modifier and Type | Method and Description |
---|---|
(package private) BytesRef |
binaryValue()
Returns a binary value for the current document if this iterator is a binary value iterator.
|
(package private) long |
longValue()
Returns a long value for the current document if this iterator is a long iterator.
|
protected void |
set(long idx)
Called when the iterator moved to the next document
|
delGen, docID, hasValue, nextDoc
advance, advanceExact, asBinaryDocValues, asNumericDocValues, cost
all, empty, range, slowAdvance
private final AbstractPagedMutable<?> values
private final long minValue
private long value
Iterator(int size, long minValue, AbstractPagedMutable<?> values, PagedMutable docs, long delGen)
long longValue()
DocValuesFieldUpdates.Iterator
longValue
in class DocValuesFieldUpdates.Iterator
BytesRef binaryValue()
DocValuesFieldUpdates.Iterator
binaryValue
in class DocValuesFieldUpdates.Iterator
protected void set(long idx)
DocValuesFieldUpdates.AbstractIterator
set
in class DocValuesFieldUpdates.AbstractIterator
idx
- the internal index to set the value to