Module org.apache.lucene.core
Package org.apache.lucene.index
Class BinaryDocValuesFieldUpdates.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.BinaryDocValuesFieldUpdates.Iterator
- Enclosing class:
BinaryDocValuesFieldUpdates
static final class BinaryDocValuesFieldUpdates.Iterator
extends DocValuesFieldUpdates.AbstractIterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final PagedGrowableWriterprivate intprivate final PagedGrowableWriterprivate final BytesRefFields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Constructor Summary
ConstructorsConstructorDescriptionIterator(int size, PagedGrowableWriter offsets, PagedGrowableWriter lengths, PagedMutable docs, BytesRef values, long delGen) -
Method Summary
Modifier and TypeMethodDescription(package private) BytesRefReturns a binary value for the current document if this iterator is a binary value iterator.(package private) longReturns a long value for the current document if this iterator is a long iterator.protected voidset(long idx) Called when the iterator moved to the next documentMethods inherited from class org.apache.lucene.index.DocValuesFieldUpdates.AbstractIterator
delGen, docID, hasValue, nextDocMethods inherited from class org.apache.lucene.index.DocValuesFieldUpdates.Iterator
advance, advanceExact, asBinaryDocValues, asNumericDocValues, costMethods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
Field Details
-
offsets
-
lengths
-
value
-
offset
private int offset -
length
private int length
-
-
Constructor Details
-
Iterator
Iterator(int size, PagedGrowableWriter offsets, PagedGrowableWriter lengths, PagedMutable docs, BytesRef values, long delGen)
-
-
Method Details
-
binaryValue
BytesRef binaryValue()Description copied from class:DocValuesFieldUpdates.IteratorReturns a binary value for the current document if this iterator is a binary value iterator.- Specified by:
binaryValuein classDocValuesFieldUpdates.Iterator
-
set
protected void set(long idx) Description copied from class:DocValuesFieldUpdates.AbstractIteratorCalled when the iterator moved to the next document- Specified by:
setin classDocValuesFieldUpdates.AbstractIterator- Parameters:
idx- the internal index to set the value to
-
longValue
long longValue()Description copied from class:DocValuesFieldUpdates.IteratorReturns a long value for the current document if this iterator is a long iterator.- Specified by:
longValuein classDocValuesFieldUpdates.Iterator
-