Module org.apache.lucene.core
Package org.apache.lucene.index
Class DocValuesUpdate.BinaryDocValuesUpdate
java.lang.Object
org.apache.lucene.index.DocValuesUpdate
org.apache.lucene.index.DocValuesUpdate.BinaryDocValuesUpdate
- Enclosing class:
DocValuesUpdate
An in-place update to a binary DocValues field
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.index.DocValuesUpdate
DocValuesUpdate.BinaryDocValuesUpdate, DocValuesUpdate.NumericDocValuesUpdate -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)BinaryDocValuesUpdate(Term term, String field, BytesRef value) privateBinaryDocValuesUpdate(Term term, String field, BytesRef value, int docIDUpTo) -
Method Summary
Modifier and TypeMethodDescription(package private) BytesRefgetValue()(package private) DocValuesUpdate.BinaryDocValuesUpdateprepareForApply(int docIDUpTo) (package private) static BytesRef(package private) longprotected String(package private) voidwriteTo(DataOutput out) Methods inherited from class org.apache.lucene.index.DocValuesUpdate
hasValue, sizeInBytes, toString
-
Field Details
-
value
-
RAW_VALUE_SIZE_IN_BYTES
private static final long RAW_VALUE_SIZE_IN_BYTES
-
-
Constructor Details
-
BinaryDocValuesUpdate
-
BinaryDocValuesUpdate
-
-
Method Details
-
prepareForApply
-
valueSizeInBytes
long valueSizeInBytes()- Specified by:
valueSizeInBytesin classDocValuesUpdate
-
valueToString
- Specified by:
valueToStringin classDocValuesUpdate
-
getValue
BytesRef getValue() -
writeTo
- Specified by:
writeToin classDocValuesUpdate- Throws:
IOException
-
readFrom
- Throws:
IOException
-