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) private
NumericDocValuesUpdate
(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) long
getValue()
(package private) DocValuesUpdate.NumericDocValuesUpdate
prepareForApply
(int docIDUpTo) (package private) static long
(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
private final long value
-
-
Constructor Details
-
NumericDocValuesUpdate
-
NumericDocValuesUpdate
-
NumericDocValuesUpdate
-
-
Method Details
-
prepareForApply
-
valueSizeInBytes
long valueSizeInBytes()- Specified by:
valueSizeInBytes
in classDocValuesUpdate
-
valueToString
- Specified by:
valueToString
in classDocValuesUpdate
-
writeTo
- Specified by:
writeTo
in classDocValuesUpdate
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
getValue
long getValue()
-