Package org.apache.lucene.index
Class DocValuesUpdate.NumericDocValuesUpdate
- java.lang.Object
-
- org.apache.lucene.index.DocValuesUpdate
-
- org.apache.lucene.index.DocValuesUpdate.NumericDocValuesUpdate
-
- Enclosing class:
- DocValuesUpdate
static final class DocValuesUpdate.NumericDocValuesUpdate extends DocValuesUpdate
An in-place update to a numeric DocValues field
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.index.DocValuesUpdate
DocValuesUpdate.BinaryDocValuesUpdate, DocValuesUpdate.NumericDocValuesUpdate
-
-
Constructor Summary
Constructors Modifier Constructor Description (package private)NumericDocValuesUpdate(Term term, java.lang.String field, long value)privateNumericDocValuesUpdate(Term term, java.lang.String field, long value, int docIDUpTo, boolean hasValue)(package private)NumericDocValuesUpdate(Term term, java.lang.String field, java.lang.Long value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) longgetValue()(package private) DocValuesUpdate.NumericDocValuesUpdateprepareForApply(int docIDUpto)(package private) static longreadFrom(DataInput in)(package private) longvalueSizeInBytes()protected java.lang.StringvalueToString()(package private) voidwriteTo(DataOutput out)-
Methods inherited from class org.apache.lucene.index.DocValuesUpdate
hasValue, sizeInBytes, toString
-
-
-
-
Constructor Detail
-
NumericDocValuesUpdate
NumericDocValuesUpdate(Term term, java.lang.String field, long value)
-
NumericDocValuesUpdate
NumericDocValuesUpdate(Term term, java.lang.String field, java.lang.Long value)
-
NumericDocValuesUpdate
private NumericDocValuesUpdate(Term term, java.lang.String field, long value, int docIDUpTo, boolean hasValue)
-
-
Method Detail
-
prepareForApply
DocValuesUpdate.NumericDocValuesUpdate prepareForApply(int docIDUpto)
-
valueSizeInBytes
long valueSizeInBytes()
- Specified by:
valueSizeInBytesin classDocValuesUpdate
-
valueToString
protected java.lang.String valueToString()
- Specified by:
valueToStringin classDocValuesUpdate
-
writeTo
void writeTo(DataOutput out) throws java.io.IOException
- Specified by:
writeToin classDocValuesUpdate- Throws:
java.io.IOException
-
readFrom
static long readFrom(DataInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
getValue
long getValue()
-
-