abstract class DocValuesUpdate
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
DocValuesUpdate.BinaryDocValuesUpdate
An in-place update to a binary DocValues field
|
(package private) static class |
DocValuesUpdate.NumericDocValuesUpdate
An in-place update to a numeric DocValues field
|
Modifier and Type | Field and Description |
---|---|
(package private) int |
docIDUpto |
(package private) java.lang.String |
field |
(package private) boolean |
hasValue |
private static int |
RAW_SIZE_IN_BYTES |
(package private) Term |
term |
(package private) DocValuesType |
type |
Modifier | Constructor and Description |
---|---|
protected |
DocValuesUpdate(DocValuesType type,
Term term,
java.lang.String field,
int docIDUpto,
boolean hasValue)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
hasValue() |
(package private) int |
sizeInBytes() |
java.lang.String |
toString() |
(package private) abstract long |
valueSizeInBytes() |
protected abstract java.lang.String |
valueToString() |
(package private) abstract void |
writeTo(DataOutput output) |
private static final int RAW_SIZE_IN_BYTES
final DocValuesType type
final Term term
final java.lang.String field
final int docIDUpto
final boolean hasValue
protected DocValuesUpdate(DocValuesType type, Term term, java.lang.String field, int docIDUpto, boolean hasValue)
term
- the Term
which determines the documents that will be updatedfield
- the NumericDocValuesField
to updateabstract long valueSizeInBytes()
final int sizeInBytes()
protected abstract java.lang.String valueToString()
abstract void writeTo(DataOutput output) throws java.io.IOException
java.io.IOException
boolean hasValue()
public java.lang.String toString()
toString
in class java.lang.Object