Module org.apache.lucene.core
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
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 -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)NumericDocValuesUpdate(Term term, String field, long value) privateNumericDocValuesUpdate(Term term, String field, long value, int docIDUpTo, boolean hasValue) (package private)NumericDocValuesUpdate(Term term, String field, Long value) -
Method Summary
Modifier and TypeMethodDescription(package private) longgetValue()(package private) DocValuesUpdate.NumericDocValuesUpdateprepareForApply(int docIDUpTo) (package private) static long(package private) longprotected String(package private) voidwriteTo(DataOutput out) Methods inherited from class org.apache.lucene.index.DocValuesUpdate
hasValue, sizeInBytes, toString
-
Field Details
-
value
private final long value
-
-
Constructor Details
-
NumericDocValuesUpdate
-
NumericDocValuesUpdate
-
NumericDocValuesUpdate
-
-
Method Details
-
prepareForApply
-
valueSizeInBytes
long valueSizeInBytes()- Specified by:
valueSizeInBytesin classDocValuesUpdate
-
valueToString
- Specified by:
valueToStringin classDocValuesUpdate
-
writeTo
- Specified by:
writeToin classDocValuesUpdate- Throws:
IOException
-
readFrom
- Throws:
IOException
-
getValue
long getValue()
-