Module org.apache.lucene.core
Package org.apache.lucene.index
Class FieldUpdatesBuffer.BufferedUpdate
java.lang.Object
org.apache.lucene.index.FieldUpdatesBuffer.BufferedUpdate
- Enclosing class:
- FieldUpdatesBuffer
Struct like class that is used to iterate over all updates in this buffer
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) BytesRef
a binary value or null if this buffer holds numeric updates(package private) int
the max document ID this update should be applied to(package private) boolean
true
if this update has a value(package private) long
a numeric value or 0 if this buffer holds binary updates(package private) String
The update terms field.(package private) BytesRef
The update terms value. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
docUpTo
int docUpTothe max document ID this update should be applied to -
numericValue
long numericValuea numeric value or 0 if this buffer holds binary updates -
binaryValue
BytesRef binaryValuea binary value or null if this buffer holds numeric updates -
hasValue
boolean hasValuetrue
if this update has a value -
termField
String termFieldThe update terms field. This will never be null. -
termValue
BytesRef termValueThe update terms value. This will never be null.
-
-
Constructor Details
-
BufferedUpdate
private BufferedUpdate()
-
-
Method Details