static final class BinaryDocValuesFieldUpdates.Iterator extends DocValuesFieldUpdates.AbstractIterator
| Modifier and Type | Field and Description |
|---|---|
private int |
length |
private PagedGrowableWriter |
lengths |
private int |
offset |
private PagedGrowableWriter |
offsets |
private BytesRef |
value |
NO_MORE_DOCS| Constructor and Description |
|---|
Iterator(int size,
PagedGrowableWriter offsets,
PagedGrowableWriter lengths,
PagedMutable docs,
BytesRef values,
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, nextDocadvance, advanceExact, asBinaryDocValues, asNumericDocValues, costall, empty, range, slowAdvanceprivate final PagedGrowableWriter offsets
private final PagedGrowableWriter lengths
private final BytesRef value
private int offset
private int length
Iterator(int size,
PagedGrowableWriter offsets,
PagedGrowableWriter lengths,
PagedMutable docs,
BytesRef values,
long delGen)
BytesRef binaryValue()
DocValuesFieldUpdates.IteratorbinaryValue in class DocValuesFieldUpdates.Iteratorprotected void set(long idx)
DocValuesFieldUpdates.AbstractIteratorset in class DocValuesFieldUpdates.AbstractIteratoridx - the internal index to set the value tolong longValue()
DocValuesFieldUpdates.IteratorlongValue in class DocValuesFieldUpdates.Iterator