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
static final class DocValuesUpdate.BinaryDocValuesUpdate extends 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 Modifier and Type Field Description private static longRAW_VALUE_SIZE_IN_BYTESprivate BytesRefvalue
-
Constructor Summary
Constructors Modifier Constructor Description (package private)BinaryDocValuesUpdate(Term term, java.lang.String field, BytesRef value)privateBinaryDocValuesUpdate(Term term, java.lang.String field, BytesRef value, int docIDUpTo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) BytesRefgetValue()(package private) DocValuesUpdate.BinaryDocValuesUpdateprepareForApply(int docIDUpto)(package private) static BytesRefreadFrom(DataInput in, BytesRef scratch)(package private) longvalueSizeInBytes()protected java.lang.StringvalueToString()(package private) voidwriteTo(DataOutput out)-
Methods inherited from class org.apache.lucene.index.DocValuesUpdate
hasValue, sizeInBytes, toString
-
-
-
-
Field Detail
-
value
private final BytesRef value
-
RAW_VALUE_SIZE_IN_BYTES
private static final long RAW_VALUE_SIZE_IN_BYTES
-
-
Method Detail
-
prepareForApply
DocValuesUpdate.BinaryDocValuesUpdate prepareForApply(int docIDUpto)
-
valueSizeInBytes
long valueSizeInBytes()
- Specified by:
valueSizeInBytesin classDocValuesUpdate
-
valueToString
protected java.lang.String valueToString()
- Specified by:
valueToStringin classDocValuesUpdate
-
getValue
BytesRef getValue()
-
writeTo
void writeTo(DataOutput out) throws java.io.IOException
- Specified by:
writeToin classDocValuesUpdate- Throws:
java.io.IOException
-
-