Package org.apache.lucene.index
Class FieldUpdatesBuffer.BufferedUpdateIterator
- java.lang.Object
-
- org.apache.lucene.index.FieldUpdatesBuffer.BufferedUpdateIterator
-
- Enclosing class:
- FieldUpdatesBuffer
class FieldUpdatesBuffer.BufferedUpdateIterator extends java.lang.Object
An iterator that iterates over all updates in insertion order
-
-
Field Summary
Fields Modifier and Type Field Description private FieldUpdatesBuffer.BufferedUpdate
bufferedUpdate
private BytesRefIterator
byteValuesIterator
private int
index
private BytesRefIterator
termValuesIterator
private Bits
updatesWithValue
-
Constructor Summary
Constructors Constructor Description BufferedUpdateIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) FieldUpdatesBuffer.BufferedUpdate
next()
Moves to the next BufferedUpdate or return null if all updates are consumed.
-
-
-
Field Detail
-
termValuesIterator
private final BytesRefIterator termValuesIterator
-
byteValuesIterator
private final BytesRefIterator byteValuesIterator
-
bufferedUpdate
private final FieldUpdatesBuffer.BufferedUpdate bufferedUpdate
-
updatesWithValue
private final Bits updatesWithValue
-
index
private int index
-
-
Method Detail
-
next
FieldUpdatesBuffer.BufferedUpdate next() throws java.io.IOException
Moves to the next BufferedUpdate or return null if all updates are consumed. The returned instance is a shared instance and must be fully consumed before the next call to this method.- Throws:
java.io.IOException
-
-