Package | Description |
---|---|
com.yahoo.document.serialization | |
com.yahoo.document.update |
Modifier and Type | Method and Description |
---|---|
ValueUpdate |
VespaDocumentDeserializer42.getValueUpdate(DataType superType,
DataType subType)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AddValueUpdate
Value update representing an addition of a value (possibly with an associated weight)
to a multi-valued data type.
|
class |
ArithmeticValueUpdate
Value update representing an arithmetic operation on a numeric data type.
|
class |
AssignValueUpdate
Value update that represents assigning a new value.
|
class |
ClearValueUpdate
Value update that represents clearing a field.
|
class |
MapValueUpdate
Value update that represents performing an encapsulated value update on a subvalue.
|
class |
RemoveValueUpdate
Value update representing a removal of a value (and its associated weight, if any)
from a multi-valued data type.
|
Modifier and Type | Field and Description |
---|---|
protected ValueUpdate |
MapValueUpdate.update |
Modifier and Type | Field and Description |
---|---|
protected List<ValueUpdate> |
FieldUpdate.valueUpdates |
Modifier and Type | Method and Description |
---|---|
static ValueUpdate |
ValueUpdate.createAdd(FieldValue value)
Creates a new value update specifying an addition of a value to an array or a key to a weighted set (with default weight 1).
|
static ValueUpdate |
ValueUpdate.createAdd(FieldValue key,
Integer weight)
Creates a new value update specifying an addition of a key (with a specified weight) to a weighted set.
|
static ValueUpdate |
ValueUpdate.createAssign(FieldValue newValue)
Creates a new value update that assigns a new value, completely overwriting
the previous value.
|
static ValueUpdate |
ValueUpdate.createClear()
Creates a new value update that clears the field fromthe document.
|
static ValueUpdate |
ValueUpdate.createDecrement(FieldValue key,
Number decrement)
Creates a new value update that decrements a weight in a weighted set.
|
static ValueUpdate |
ValueUpdate.createDecrement(Number decrement)
Creates a new value update that decrements a value.
|
static ValueUpdate |
ValueUpdate.createDivide(FieldValue key,
Number divisor)
Creates a new value update that divides a weight in a weighted set.
|
static ValueUpdate |
ValueUpdate.createDivide(Number divisor)
Creates a new value update that divides a value.
|
static ValueUpdate |
ValueUpdate.createIncrement(FieldValue key,
Number increment)
Creates a new value update that increments a weight in a weighted set.
|
static ValueUpdate |
ValueUpdate.createIncrement(Number increment)
Creates a new value update that increments a value.
|
static ValueUpdate |
ValueUpdate.createMap(FieldValue value,
ValueUpdate update)
Creates a map value update, which is able to map an update to a value to a subvalue in an array or a
weighted set.
|
static ValueUpdate |
ValueUpdate.createMultiply(FieldValue key,
Number factor)
Creates a new value update that multiplies a weight in a weighted set.
|
static ValueUpdate |
ValueUpdate.createMultiply(Number factor)
Creates a new value update that multiplies a value.
|
static ValueUpdate |
ValueUpdate.createRemove(FieldValue value)
Creates a new value update specifying the removal of a value from an array or a key/weight from a weighted set.
|
ValueUpdate |
MapValueUpdate.getUpdate() |
ValueUpdate |
FieldUpdate.getValueUpdate(int index)
Get the value update at the specified index in the list of value updates.
|
ValueUpdate |
FieldUpdate.removeValueUpdate(int index)
Removes the value update at the specified position in the list of value updates.
|
ValueUpdate |
FieldUpdate.setValueUpdate(int index,
ValueUpdate update)
Replaces the value update at the specified position in the list of value updates
with the specified value update.
|
Modifier and Type | Method and Description |
---|---|
static List<ValueUpdate> |
ValueUpdate.createAddAll(List<? extends FieldValue> values)
Creates a new value update
specifying an addition of all values in a given list to an array.
|
static List<ValueUpdate> |
ValueUpdate.createAddAll(WeightedSet<? extends FieldValue> set)
Creates a new value update
specifying an addition of all key/weight pairs in a weighted set to a weighted set.
|
static List<ValueUpdate> |
ValueUpdate.createRemoveAll(List<? extends FieldValue> values)
Creates a new value update
specifying the removal of all values in a given list from an array or weighted set.
|
static List<ValueUpdate> |
ValueUpdate.createRemoveAll(WeightedSet<? extends FieldValue> values)
Creates a new value update
specifying the removal of all values in a given list from an array or weighted set.
|
List<ValueUpdate> |
FieldUpdate.getValueUpdates()
Get an unmodifiable list of all value updates that this field update specifies.
|
List<ValueUpdate> |
FieldUpdate.getValueUpdates(ValueUpdate.ValueUpdateClassID classID)
Get value updates with the specified valueUpdateClassID.
|
Modifier and Type | Method and Description |
---|---|
FieldUpdate |
FieldUpdate.addValueUpdate(int index,
ValueUpdate valueUpdate)
Adds a value update to the list of value updates.
|
FieldUpdate |
FieldUpdate.addValueUpdate(ValueUpdate valueUpdate)
Adds a value update to the list of value updates.
|
static FieldUpdate |
FieldUpdate.createMap(Field field,
FieldValue value,
ValueUpdate update)
Creates a new field update, with one encapsulated value update, which
is able to map an update to a value to a subvalue in an array or a
weighted set.
|
static ValueUpdate |
ValueUpdate.createMap(FieldValue value,
ValueUpdate update)
Creates a map value update, which is able to map an update to a value to a subvalue in an array or a
weighted set.
|
ValueUpdate |
FieldUpdate.setValueUpdate(int index,
ValueUpdate update)
Replaces the value update at the specified position in the list of value updates
with the specified value update.
|
Modifier and Type | Method and Description |
---|---|
FieldUpdate |
FieldUpdate.addValueUpdates(List<ValueUpdate> valueUpdates)
Adds a list of value updates to the list of value updates.
|
Constructor and Description |
---|
FieldUpdate(Field field,
ValueUpdate valueUpd) |
MapValueUpdate(FieldValue value,
ValueUpdate update) |
Constructor and Description |
---|
FieldUpdate(Field field,
List<ValueUpdate> valueUpdates) |
Copyright © 2017. All rights reserved.