Uses of Class
com.yahoo.document.update.FieldUpdate
Packages that use FieldUpdate
Package
Description
-
Uses of FieldUpdate in com.yahoo.document
Methods in com.yahoo.document that return FieldUpdateModifier and TypeMethodDescriptionDocumentUpdate.getFieldUpdate
(Field field) Returns the update for a fieldDocumentUpdate.getFieldUpdate
(String fieldName) Returns the update for a field nameDocumentUpdate.removeFieldUpdate
(Field field) DocumentUpdate.removeFieldUpdate
(String fieldName) Methods in com.yahoo.document that return types with arguments of type FieldUpdateModifier and TypeMethodDescriptionDocumentUpdate.fieldUpdates()
Get an unmodifiable collection of all field updates that this document update specifies.Methods in com.yahoo.document with parameters of type FieldUpdateModifier and TypeMethodDescriptionDocumentUpdate.addFieldUpdate
(FieldUpdate update) Adds the givenFieldUpdate
to this DocumentUpdate.Method parameters in com.yahoo.document with type arguments of type FieldUpdateModifier and TypeMethodDescriptionvoid
DocumentUpdate.addFieldUpdates
(Collection<FieldUpdate> fieldUpdates) void
DocumentUpdate.setFieldUpdates
(Collection<FieldUpdate> fieldUpdates) Assigns the field updates of this document update.void
DocumentUpdate.setFieldUpdates
(List<FieldUpdate> fieldUpdates) The same as setFieldUpdates(Collection<FieldUpdate>) -
Uses of FieldUpdate in com.yahoo.document.json.readers
Methods in com.yahoo.document.json.readers with parameters of type FieldUpdateModifier and TypeMethodDescriptionstatic void
AddRemoveCreator.createAdds
(TokenBuffer buffer, Field field, FieldUpdate update, boolean ignoreUndefinedFields) static void
AddRemoveCreator.createRemoves
(TokenBuffer buffer, Field field, FieldUpdate update, boolean ignoreUndefinedFields) -
Uses of FieldUpdate in com.yahoo.document.serialization
Methods in com.yahoo.document.serialization with parameters of type FieldUpdateModifier and TypeMethodDescriptionvoid
DocumentUpdateReader.read
(FieldUpdate update) void
VespaDocumentDeserializer6.read
(FieldUpdate fieldUpdate) void
DocumentUpdateWriter.write
(FieldUpdate update) void
VespaDocumentSerializer6.write
(FieldUpdate update) -
Uses of FieldUpdate in com.yahoo.document.update
Methods in com.yahoo.document.update that return FieldUpdateModifier and TypeMethodDescriptionFieldUpdate.addValueUpdate
(int index, ValueUpdate valueUpdate) Adds a value update to the list of value updates.FieldUpdate.addValueUpdate
(ValueUpdate valueUpdate) Adds a value update to the list of value updates.FieldUpdate.addValueUpdates
(List<ValueUpdate> valueUpdates) Adds a list of value updates to the list of value updates.Applies this field update.static FieldUpdate
Creates a new, empty field update with no encapsulated value updates.static FieldUpdate
FieldUpdate.createAdd
(Field field, FieldValue value) Creates a new field update, with one encapsulated value update specifying an addition of a value to an array or a key to a weighted set (with default weight 1).static FieldUpdate
FieldUpdate.createAdd
(Field field, FieldValue key, Integer weight) Creates a new field update, with one encapsulated value update specifying an addition of a key (with a specified weight) to a weighted set.static FieldUpdate
FieldUpdate.createAddAll
(Field field, WeightedSet<? extends FieldValue> set) Creates a new field update, with encapsulated value updates, specifying an addition of all key/weight pairs in a weighted set to a weighted set.static FieldUpdate
FieldUpdate.createAddAll
(Field field, List<? extends FieldValue> values) Creates a new field update, with encapsulated value updates, specifying an addition of all values in a given list to an array.static FieldUpdate
FieldUpdate.createAssign
(Field field, FieldValue newValue) Creates a new field update, with one encapsulated value update, that assigns a new value, completely overwriting the previous value.static FieldUpdate
FieldUpdate.createClear
(Field field) Creates a new field update, with one encapsulated value update, that clears the value; see documentation for ClearValueUpdate to see behavior for the individual data types.static FieldUpdate
FieldUpdate.createClearField
(Field field) Creates a new field update that clears the field.static FieldUpdate
FieldUpdate.createDecrement
(Field field, FieldValue key, Number decrement) Creates a new field update, with one encapsulated value update that decrements a weight in a weighted set.static FieldUpdate
FieldUpdate.createDecrement
(Field field, Number decrement) Creates a new field update, with one encapsulated value update that decrements a value.static FieldUpdate
FieldUpdate.createDivide
(Field field, FieldValue key, Number divisor) Creates a new field update, with one encapsulated value update that divides a weight in a weighted set.static FieldUpdate
FieldUpdate.createDivide
(Field field, Number divisor) Creates a new field update, with one encapsulated value update that divides a value.static FieldUpdate
FieldUpdate.createIncrement
(Field field, FieldValue key, Number increment) Creates a new field update, with one encapsulated value update that increments a weight in a weighted set.static FieldUpdate
FieldUpdate.createIncrement
(Field field, Number increment) Creates a new field update, with one encapsulated value update that increments a value.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 FieldUpdate
FieldUpdate.createMultiply
(Field field, FieldValue key, Number factor) Creates a new field update, with one encapsulated value update that multiplies a weight in a weighted set.static FieldUpdate
FieldUpdate.createMultiply
(Field field, Number factor) Creates a new field update, with one encapsulated value update that multiplies a value.static FieldUpdate
FieldUpdate.createRemove
(Field field, FieldValue value) Creates a new field update, with one encapsulated value update, specifying the removal of a value from an array or a key/weight from a weighted set.static FieldUpdate
FieldUpdate.createRemoveAll
(Field field, WeightedSet<? extends FieldValue> values) Creates a new field update, with encapsulated value updates, specifying the removal of all values in a given list from an array or weighted set.static FieldUpdate
FieldUpdate.createRemoveAll
(Field field, List<? extends FieldValue> values) Creates a new field update, with encapsulated value updates, specifying the removal of all values in a given list from an array or weighted set.Methods in com.yahoo.document.update with parameters of type FieldUpdateModifier and TypeMethodDescriptionvoid
FieldUpdate.addAll
(FieldUpdate update) Adds all theValueUpdate
s of the given FieldUpdate to this. -
Uses of FieldUpdate in com.yahoo.vespaxmlparser
Methods in com.yahoo.vespaxmlparser with parameters of type FieldUpdate