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 givenFieldUpdateto this DocumentUpdate.Method parameters in com.yahoo.document with type arguments of type FieldUpdateModifier and TypeMethodDescriptionvoidDocumentUpdate.addFieldUpdates(Collection<FieldUpdate> fieldUpdates) voidDocumentUpdate.setFieldUpdates(Collection<FieldUpdate> fieldUpdates) Assigns the field updates of this document update.voidDocumentUpdate.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 voidAddRemoveCreator.createAdds(TokenBuffer buffer, Field field, FieldUpdate update, boolean ignoreUndefinedFields) static voidAddRemoveCreator.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 TypeMethodDescriptionvoidDocumentUpdateReader.read(FieldUpdate update) voidVespaDocumentDeserializer6.read(FieldUpdate fieldUpdate) Deprecated, for removal: This API element is subject to removal in a future version.voidDocumentUpdateWriter.write(FieldUpdate update) voidVespaDocumentSerializer6.write(FieldUpdate update) Deprecated, for removal: This API element is subject to removal in a future version. -
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 FieldUpdateCreates a new, empty field update with no encapsulated value updates.static FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.createClearField(Field field) Creates a new field update that clears the field.static FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.createDecrement(Field field, Number decrement) Creates a new field update, with one encapsulated value update that decrements a value.static FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.createDivide(Field field, Number divisor) Creates a new field update, with one encapsulated value update that divides a value.static FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.createIncrement(Field field, Number increment) Creates a new field update, with one encapsulated value update that increments a value.static FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.createMultiply(Field field, Number factor) Creates a new field update, with one encapsulated value update that multiplies a value.static FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.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 FieldUpdateFieldUpdate.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 TypeMethodDescriptionvoidFieldUpdate.addAll(FieldUpdate update) Adds all theValueUpdates of the given FieldUpdate to this. -
Uses of FieldUpdate in com.yahoo.vespaxmlparser
Methods in com.yahoo.vespaxmlparser with parameters of type FieldUpdate