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
Fields Modifier and Type Field Description private int
length
private PagedGrowableWriter
lengths
private int
offset
private PagedGrowableWriter
offsets
private BytesRef
value
-
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
-
Constructor Summary
Constructors Constructor Description Iterator(int size, PagedGrowableWriter offsets, PagedGrowableWriter lengths, PagedMutable docs, BytesRef values, 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
-
offsets
private final PagedGrowableWriter offsets
-
lengths
private final PagedGrowableWriter lengths
-
value
private final BytesRef value
-
offset
private int offset
-
length
private int length
-
-
Constructor Detail
-
Iterator
Iterator(int size, PagedGrowableWriter offsets, PagedGrowableWriter lengths, PagedMutable docs, BytesRef values, long delGen)
-
-
Method Detail
-
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
-
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
-
-