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) private
BinaryDocValuesUpdate
(Term term, String field, BytesRef value, int docIDUpTo) -
Method Summary
Modifier and TypeMethodDescription(package private) BytesRef
getValue()
(package private) DocValuesUpdate.BinaryDocValuesUpdate
prepareForApply
(int docIDUpTo) (package private) static BytesRef
(package private) long
protected String
(package private) void
writeTo
(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:
valueSizeInBytes
in classDocValuesUpdate
-
valueToString
- Specified by:
valueToString
in classDocValuesUpdate
-
getValue
BytesRef getValue() -
writeTo
- Specified by:
writeTo
in classDocValuesUpdate
- Throws:
IOException
-
readFrom
- Throws:
IOException
-