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 intlengthprivate PagedGrowableWriterlengthsprivate intoffsetprivate PagedGrowableWriteroffsetsprivate BytesRefvalue-
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) BytesRefbinaryValue()Returns a binary value for the current document if this iterator is a binary value iterator.(package private) longlongValue()Returns 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 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.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
-
-