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
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)
private
NumericDocValuesUpdate(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) long
getValue()
(package private) DocValuesUpdate.NumericDocValuesUpdate
prepareForApply(int docIDUpTo)
(package private) static long
readFrom(DataInput in)
(package private) long
valueSizeInBytes()
protected java.lang.String
valueToString()
(package private) void
writeTo(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:
valueSizeInBytes
in classDocValuesUpdate
-
valueToString
protected java.lang.String valueToString()
- Specified by:
valueToString
in classDocValuesUpdate
-
writeTo
void writeTo(DataOutput out) throws java.io.IOException
- Specified by:
writeTo
in classDocValuesUpdate
- Throws:
java.io.IOException
-
readFrom
static long readFrom(DataInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
getValue
long getValue()
-
-