Module org.apache.lucene.core
Package org.apache.lucene.index
Class NumericDocValuesFieldUpdates.Iterator
- java.lang.Object
-
- org.apache.lucene.search.DocIdSetIterator
-
- org.apache.lucene.index.DocValuesIterator
-
- org.apache.lucene.index.DocValuesFieldUpdates.Iterator
-
- org.apache.lucene.index.DocValuesFieldUpdates.AbstractIterator
-
- org.apache.lucene.index.NumericDocValuesFieldUpdates.Iterator
-
- Enclosing class:
- NumericDocValuesFieldUpdates
static final class NumericDocValuesFieldUpdates.Iterator extends DocValuesFieldUpdates.AbstractIterator
-
-
Field Summary
Fields Modifier and Type Field Description private long
minValue
private long
value
private AbstractPagedMutable<?>
values
-
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
-
Constructor Summary
Constructors Constructor Description Iterator(int size, long minValue, AbstractPagedMutable<?> values, PagedMutable docs, long delGen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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-
Methods inherited from class org.apache.lucene.index.DocValuesFieldUpdates.AbstractIterator
delGen, docID, hasValue, nextDoc
-
Methods inherited from class org.apache.lucene.index.DocValuesFieldUpdates.Iterator
advance, advanceExact, asBinaryDocValues, asNumericDocValues, cost
-
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
-
-
-
Field Detail
-
values
private final AbstractPagedMutable<?> values
-
minValue
private final long minValue
-
value
private long value
-
-
Constructor Detail
-
Iterator
Iterator(int size, long minValue, AbstractPagedMutable<?> values, PagedMutable docs, long delGen)
-
-
Method Detail
-
longValue
long longValue()
Description copied from class:DocValuesFieldUpdates.Iterator
Returns a long value for the current document if this iterator is a long iterator.- Specified by:
longValue
in classDocValuesFieldUpdates.Iterator
-
binaryValue
BytesRef binaryValue()
Description copied from class:DocValuesFieldUpdates.Iterator
Returns a binary value for the current document if this iterator is a binary value iterator.- Specified by:
binaryValue
in classDocValuesFieldUpdates.Iterator
-
set
protected void set(long idx)
Description copied from class:DocValuesFieldUpdates.AbstractIterator
Called when the iterator moved to the next document- Specified by:
set
in classDocValuesFieldUpdates.AbstractIterator
- Parameters:
idx
- the internal index to set the value to
-
-