Uses of Class
com.yahoo.document.datatypes.FieldValue
Packages that use FieldValue
Package
Description
Provides classes and interfaces for creating trees of spans over string
values in Vespa documents, and annotating these spans.
Infrastructure for building Vespa documents and feed operations from JSON.
-
Uses of FieldValue in com.yahoo.document
Subclasses of FieldValue in com.yahoo.documentModifier and TypeClassDescriptionclass
A document is an identifiable set of value bindings of adocument type
.Methods in com.yahoo.document that return FieldValueModifier and TypeMethodDescriptionabstract FieldValue
PrimitiveDataType.Factory.create()
abstract FieldValue
protected FieldValue
CollectionDataType.createByReflection
(Object arg) protected FieldValue
DataType.createByReflection
(Object arg) Creates a field value by reflectionprotected FieldValue
MapDataType.createByReflection
(Object arg) protected FieldValue
StructuredDataType.createByReflection
(Object arg) abstract FieldValue
DataType.createFieldValue()
Creates a new, empty FieldValue of this typeDataType.createFieldValue
(Object arg) Creates a new FieldValue of this type, with the given value.PrimitiveDataType.createFieldValue()
PrimitiveDataType.createFieldValue
(Object arg) StructDataType.createFieldValue
(Object o) TensorDataType.createFieldValue()
Document.getFieldValue
(Field field) ExtendedField.getFieldValue
(StructuredFieldValue doc) ExtendedStringField.getFieldValue
(StructuredFieldValue doc) FieldPathEntry.getLookupKey()
Document.removeFieldValue
(Field field) ExtendedField.setFieldValue
(StructuredFieldValue doc, FieldValue fv) ExtendedStringField.setFieldValue
(StructuredFieldValue doc, FieldValue fv) Methods in com.yahoo.document that return types with arguments of type FieldValueModifier and TypeMethodDescriptionClass<? extends FieldValue>
PrimitiveDataType.getValueClass()
Document.iterator()
Methods in com.yahoo.document with parameters of type FieldValueModifier and TypeMethodDescriptionint
Document.compareTo
(FieldValue fieldValue) protected void
Document.doSetFieldValue
(Field field, FieldValue value) static IntegerFieldValue
PositionDataType.getXValue
(FieldValue pos) static IntegerFieldValue
PositionDataType.getYValue
(FieldValue pos) boolean
CollectionDataType.isValueCompatible
(FieldValue value) abstract boolean
DataType.isValueCompatible
(FieldValue value) boolean
DocumentType.isValueCompatible
(FieldValue value) boolean
MapDataType.isValueCompatible
(FieldValue value) boolean
PrimitiveDataType.isValueCompatible
(FieldValue value) boolean
ReferenceDataType.isValueCompatible
(FieldValue value) boolean
StructDataType.isValueCompatible
(FieldValue value) boolean
TensorDataType.isValueCompatible
(FieldValue value) static FieldPathEntry
FieldPathEntry.newMapLookupEntry
(FieldValue lookupKey, DataType resultingDataType) Creates a new field path entry that references a map or weighted set.ExtendedField.setFieldValue
(StructuredFieldValue doc, FieldValue fv) ExtendedStringField.setFieldValue
(StructuredFieldValue doc, FieldValue fv) Constructor parameters in com.yahoo.document with type arguments of type FieldValueModifierConstructorDescriptionprotected
NumericDataType
(String name, int code, Class<? extends FieldValue> type, PrimitiveDataType.Factory factory) Creates a datatypeprotected
PrimitiveDataType
(String name, int code, Class<? extends FieldValue> valueClass, PrimitiveDataType.Factory factory) Creates a datatype -
Uses of FieldValue in com.yahoo.document.annotation
Subclasses of FieldValue in com.yahoo.document.annotationModifier and TypeClassDescriptionclass
A FieldValue which holds a reference to an annotation of a specified type.Methods in com.yahoo.document.annotation that return FieldValueModifier and TypeMethodDescriptionAnnotationReferenceDataType.createFieldValue()
Annotation.getFieldValue()
Returns the value of the annotation, if any.Methods in com.yahoo.document.annotation with parameters of type FieldValueModifier and TypeMethodDescriptionSpanNode.annotate
(AnnotationType type, FieldValue value) Convenience method for adding an annotation to this span, same asgetSpanTree().
spanTree.annotate(this,type,value)
SpanTree.annotate
(SpanNode node, AnnotationType type, FieldValue value) Adds an Annotation.int
AnnotationReference.compareTo
(FieldValue fieldValue) boolean
AnnotationReferenceDataType.isValueCompatible
(FieldValue value) void
Annotation.setFieldValue
(FieldValue fieldValue) Sets the value of the annotation.Constructors in com.yahoo.document.annotation with parameters of type FieldValueModifierConstructorDescriptionAnnotation
(AnnotationType type, FieldValue value) Constructs a new annotation of the specified type, and having the specified value. -
Uses of FieldValue in com.yahoo.document.datatypes
Classes in com.yahoo.document.datatypes with type parameters of type FieldValueModifier and TypeClassDescriptionfinal class
Array<T extends FieldValue>
FieldValue which encapsulates an Array valueclass
CollectionFieldValue<T extends FieldValue>
Superclass of multivalue field valuesclass
MapFieldValue<K extends FieldValue,
V extends FieldValue> Vespa map.class
MapFieldValue<K extends FieldValue,
V extends FieldValue> Vespa map.final class
WeightedSet<K extends FieldValue>
A weighted set, a unique set of keys with an associated integer weight.Subclasses of FieldValue in com.yahoo.document.datatypesModifier and TypeClassDescriptionfinal class
Array<T extends FieldValue>
FieldValue which encapsulates an Array valueclass
A boolean field valueclass
A byte field valueclass
CollectionFieldValue<T extends FieldValue>
Superclass of multivalue field valuesclass
final class
A 64-bit float field valuefinal class
A 16-bit float field valuefinal class
A 32-bit float field valuefinal class
A 32-bit integer field valuefinal class
A 64-bit integer field valueclass
MapFieldValue<K extends FieldValue,
V extends FieldValue> Vespa map.class
class
final class
A field value which is an array of byte dataclass
A reference field value allows search queries to access fields in other document instances as if they were fields natively stored within the searched document.class
A StringFieldValue is a wrapper class that holds a String inDocument
s and otherFieldValue
s.class
class
class
Field value class that wraps a tensor.class
final class
WeightedSet<K extends FieldValue>
A weighted set, a unique set of keys with an associated integer weight.Methods in com.yahoo.document.datatypes that return FieldValueModifier and TypeMethodDescriptionFieldValue.clone()
static FieldValue
FieldValue.create
(FieldReader reader, DataType type) protected FieldValue
CollectionFieldValue.createFieldValue
(Object o) Utility function to wrap primitives.Array.getFieldValue
(int index) Struct.getFieldValue
(Field field) abstract FieldValue
StructuredFieldValue.getFieldValue
(Field field) Returns the value of the given field.StructuredFieldValue.getFieldValue
(String fieldName) Convenience method to return the value of a named field.FieldPathIteratorHandler.IndexValue.getKey()
FieldValue.getRecursiveValue
(FieldPath path) FieldValue.getRecursiveValue
(String path) Using the given field path, digs through the document and returns the matching field value.Struct.removeFieldValue
(Field field) abstract FieldValue
StructuredFieldValue.removeFieldValue
(Field field) Removes and returns a field value.StructuredFieldValue.removeFieldValue
(String fieldName) Convenience method to remove the value of a named field.StructuredFieldValue.setFieldValue
(Field field, FieldValue value) Sets the value of the given field.final FieldValue
StructuredFieldValue.setFieldValue
(Field field, Byte value) final FieldValue
StructuredFieldValue.setFieldValue
(Field field, Double value) final FieldValue
StructuredFieldValue.setFieldValue
(Field field, Integer value) final FieldValue
StructuredFieldValue.setFieldValue
(Field field, Long value) final FieldValue
StructuredFieldValue.setFieldValue
(Field field, String value) StructuredFieldValue.setFieldValue
(String fieldName, FieldValue value) Convenience method to set the value of a named field.final FieldValue
StructuredFieldValue.setFieldValue
(String field, Boolean value) final FieldValue
StructuredFieldValue.setFieldValue
(String field, Byte value) final FieldValue
StructuredFieldValue.setFieldValue
(String field, Double value) final FieldValue
StructuredFieldValue.setFieldValue
(String field, Integer value) final FieldValue
StructuredFieldValue.setFieldValue
(String field, Long value) final FieldValue
StructuredFieldValue.setFieldValue
(String field, String value) Methods in com.yahoo.document.datatypes that return types with arguments of type FieldValueModifier and TypeMethodDescriptionStruct.getFields()
Struct.iterator()
abstract Iterator<Map.Entry<Field,
FieldValue>> StructuredFieldValue.iterator()
Methods in com.yahoo.document.datatypes with parameters of type FieldValueModifier and TypeMethodDescriptionint
Array.compareTo
(FieldValue fieldValue) int
BoolFieldValue.compareTo
(FieldValue other) int
ByteFieldValue.compareTo
(FieldValue fieldValue) int
DoubleFieldValue.compareTo
(FieldValue fieldValue) int
FieldValue.compareTo
(FieldValue fieldValue) int
Float16FieldValue.compareTo
(FieldValue fieldValue) int
FloatFieldValue.compareTo
(FieldValue fieldValue) int
IntegerFieldValue.compareTo
(FieldValue fieldValue) int
LongFieldValue.compareTo
(FieldValue fieldValue) int
MapFieldValue.compareTo
(FieldValue fieldValue) int
StringFieldValue.compareTo
(FieldValue fieldValue) int
Struct.compareTo
(FieldValue obj) int
WeightedSet.compareTo
(FieldValue fieldValue) FieldPathIteratorHandler.doModify
(FieldValue fv) protected void
Struct.doSetFieldValue
(Field field, FieldValue value) protected abstract void
StructuredFieldValue.doSetFieldValue
(Field field, FieldValue value) static <T> T
Struct.getFieldValue
(FieldValue struct, DataType structType, Field field, Class<T> fieldType) static <T> T
Struct.getFieldValue
(FieldValue struct, DataType structType, String fieldName, Class<T> fieldType) FieldPathIteratorHandler.modify
(FieldValue fv) boolean
FieldPathIteratorHandler.onComplex
(FieldValue fv) void
FieldPathIteratorHandler.onPrimitive
(FieldValue fv) boolean
Array.removeValue
(FieldValue o) abstract boolean
CollectionFieldValue.removeValue
(FieldValue o) protected boolean
CollectionFieldValue.removeValue
(FieldValue o, Collection collection) boolean
WeightedSet.removeValue
(FieldValue o) StructuredFieldValue.setFieldValue
(Field field, FieldValue value) Sets the value of the given field.StructuredFieldValue.setFieldValue
(String fieldName, FieldValue value) Convenience method to set the value of a named field.Constructors in com.yahoo.document.datatypes with parameters of type FieldValue -
Uses of FieldValue in com.yahoo.document.fieldpathupdate
Methods in com.yahoo.document.fieldpathupdate that return FieldValueModifier and TypeMethodDescriptionAssignFieldPathUpdate.getFieldValue()
AssignFieldPathUpdate.getNewValue()
Methods in com.yahoo.document.fieldpathupdate with parameters of type FieldValueModifier and TypeMethodDescriptionvoid
AssignFieldPathUpdate.setNewValue
(FieldValue value) Turns this assignment into a literal one.Constructors in com.yahoo.document.fieldpathupdate with parameters of type FieldValueModifierConstructorDescriptionAssignFieldPathUpdate
(DocumentType type, String fieldPath, FieldValue newValue) AssignFieldPathUpdate
(DocumentType type, String fieldPath, String whereClause, FieldValue newValue) Creates an assignment update that overwrites the old value with the given new value. -
Uses of FieldValue in com.yahoo.document.json
Methods in com.yahoo.document.json with type parameters of type FieldValueModifier and TypeMethodDescriptionstatic <T extends FieldValue>
voidJsonSerializationHelper.serializeArrayField
(FieldWriter fieldWriter, com.fasterxml.jackson.core.JsonGenerator generator, com.yahoo.vespa.objects.FieldBase field, Array<T> value) static <T extends FieldValue>
voidJsonSerializationHelper.serializeCollectionField
(FieldWriter fieldWriter, com.fasterxml.jackson.core.JsonGenerator generator, com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) static <K extends FieldValue,
V extends FieldValue>
voidJsonSerializationHelper.serializeMapField
(FieldWriter fieldWriter, com.fasterxml.jackson.core.JsonGenerator generator, com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) static <K extends FieldValue,
V extends FieldValue>
voidJsonSerializationHelper.serializeMapField
(FieldWriter fieldWriter, com.fasterxml.jackson.core.JsonGenerator generator, com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) static <T extends FieldValue>
voidJsonSerializationHelper.serializeWeightedSet
(com.fasterxml.jackson.core.JsonGenerator generator, com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value) <T extends FieldValue>
void<T extends FieldValue>
voidJsonWriter.write
(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) <K extends FieldValue,
V extends FieldValue>
voidJsonWriter.write
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) <K extends FieldValue,
V extends FieldValue>
voidJsonWriter.write
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) <T extends FieldValue>
voidJsonWriter.write
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value) Methods in com.yahoo.document.json with parameters of type FieldValueModifier and TypeMethodDescriptionvoid
JsonWriter.write
(com.yahoo.vespa.objects.FieldBase field, FieldValue value) This method will only be called if there is some type which is not properly supported in the API, or if something has been changed without updating this class. -
Uses of FieldValue in com.yahoo.document.json.readers
Methods in com.yahoo.document.json.readers that return FieldValueModifier and TypeMethodDescriptionstatic FieldValue
SingleValueReader.readAtomic
(String field, DataType expectedType) static FieldValue
SingleValueReader.readSingleValue
(TokenBuffer buffer, DataType expectedType, boolean ignoreUndefinedFields) Methods in com.yahoo.document.json.readers with parameters of type FieldValueModifier and TypeMethodDescriptionstatic boolean
CompositeReader.populateComposite
(TokenBuffer buffer, FieldValue fieldValue, boolean ignoreUndefinedFields) Method parameters in com.yahoo.document.json.readers with type arguments of type FieldValueModifier and TypeMethodDescriptionstatic void
ArrayReader.fillArrayUpdate
(TokenBuffer buffer, int initNesting, DataType valueType, List<FieldValue> arrayContents, boolean ignoreUndefinedFields) -
Uses of FieldValue in com.yahoo.document.serialization
Methods in com.yahoo.document.serialization with type parameters of type FieldValueModifier and TypeMethodDescriptionstatic <K extends FieldValue,
V extends FieldValue>
voidXmlSerializationHelper.printMapXml
(MapFieldValue<K, V> map, XmlStream xml) Deprecated.static <K extends FieldValue,
V extends FieldValue>
voidXmlSerializationHelper.printMapXml
(MapFieldValue<K, V> map, XmlStream xml) Deprecated.<T extends FieldValue>
voidRead in the value of array field<T extends FieldValue>
voidFieldReader.read
(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) Read in the value of collection field<K extends FieldValue,
V extends FieldValue>
voidFieldReader.read
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Read the value of a map field<K extends FieldValue,
V extends FieldValue>
voidFieldReader.read
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Read the value of a map field<T extends FieldValue>
voidFieldReader.read
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value) Read in the value of weighted set field<T extends FieldValue>
void<T extends FieldValue>
voidVespaDocumentDeserializer6.read
(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) <K extends FieldValue,
V extends FieldValue>
voidVespaDocumentDeserializer6.read
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) <K extends FieldValue,
V extends FieldValue>
voidVespaDocumentDeserializer6.read
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) <T extends FieldValue>
voidVespaDocumentDeserializer6.read
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> ws) <T extends FieldValue>
voidWrites the value of an array field.<T extends FieldValue>
voidFieldWriter.write
(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) Writes the value of a collection field.<K extends FieldValue,
V extends FieldValue>
voidFieldWriter.write
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Writes the value of a map field.<K extends FieldValue,
V extends FieldValue>
voidFieldWriter.write
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Writes the value of a map field.<T extends FieldValue>
voidFieldWriter.write
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value) Writes the value of a weighted set field.<T extends FieldValue>
voidWrite out the value of array field<T extends FieldValue>
voidVespaDocumentSerializer6.write
(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) Write out the value of collection field<K extends FieldValue,
V extends FieldValue>
voidVespaDocumentSerializer6.write
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) <K extends FieldValue,
V extends FieldValue>
voidVespaDocumentSerializer6.write
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) <T extends FieldValue>
voidVespaDocumentSerializer6.write
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> ws) Write out the value of weighted set fieldMethods in com.yahoo.document.serialization with parameters of type FieldValueModifier and TypeMethodDescriptionvoid
FieldReader.read
(com.yahoo.vespa.objects.FieldBase field, FieldValue value) Read in the value of fieldvoid
VespaDocumentDeserializer6.read
(com.yahoo.vespa.objects.FieldBase field, FieldValue value) void
FieldWriter.write
(com.yahoo.vespa.objects.FieldBase field, FieldValue value) Writes the value of a field.void
VespaDocumentSerializer6.write
(com.yahoo.vespa.objects.FieldBase field, FieldValue value) Write out the value of field -
Uses of FieldValue in com.yahoo.document.update
Classes in com.yahoo.document.update with type parameters of type FieldValueModifier and TypeClassDescriptionclass
ValueUpdate<T extends FieldValue>
A value update represents some action to perform to a value.Fields in com.yahoo.document.update declared as FieldValueModifier and TypeFieldDescriptionprotected FieldValue
AddValueUpdate.value
protected FieldValue
AssignValueUpdate.value
protected FieldValue
MapValueUpdate.value
protected FieldValue
RemoveValueUpdate.value
Methods in com.yahoo.document.update that return FieldValueModifier and TypeMethodDescriptionAddValueUpdate.applyTo
(FieldValue val) ArithmeticValueUpdate.applyTo
(FieldValue oldValue) AssignValueUpdate.applyTo
(FieldValue fval) ClearValueUpdate.applyTo
(FieldValue fval) MapValueUpdate.applyTo
(FieldValue fval) RemoveValueUpdate.applyTo
(FieldValue fval) TensorAddUpdate.applyTo
(FieldValue oldValue) TensorModifyUpdate.applyTo
(FieldValue oldValue) TensorRemoveUpdate.applyTo
(FieldValue oldValue) abstract FieldValue
ValueUpdate.applyTo
(FieldValue oldValue) AddValueUpdate.getValue()
Returns the value of this value update.AssignValueUpdate.getValue()
Returns the value of this value update.ClearValueUpdate.getValue()
MapValueUpdate.getValue()
Returns the key of the nested updateRemoveValueUpdate.getValue()
Sets the key this should removeMethods in com.yahoo.document.update with parameters of type FieldValueModifier and TypeMethodDescriptionAddValueUpdate.applyTo
(FieldValue val) ArithmeticValueUpdate.applyTo
(FieldValue oldValue) AssignValueUpdate.applyTo
(FieldValue fval) ClearValueUpdate.applyTo
(FieldValue fval) MapValueUpdate.applyTo
(FieldValue fval) RemoveValueUpdate.applyTo
(FieldValue fval) TensorAddUpdate.applyTo
(FieldValue oldValue) TensorModifyUpdate.applyTo
(FieldValue oldValue) TensorRemoveUpdate.applyTo
(FieldValue oldValue) abstract FieldValue
ValueUpdate.applyTo
(FieldValue oldValue) 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 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 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 ValueUpdate
ValueUpdate.createAssign
(FieldValue newValue) Creates a new value update that assigns a new value, completely overwriting the previous value.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 ValueUpdate
ValueUpdate.createDecrement
(FieldValue key, Number decrement) Creates a new value update that decrements a weight in a weighted set.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 ValueUpdate
ValueUpdate.createDivide
(FieldValue key, Number divisor) Creates a new value update that divides a weight in a weighted set.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 ValueUpdate
ValueUpdate.createIncrement
(FieldValue key, Number increment) Creates a new value update that increments a weight in a weighted set.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.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 ValueUpdate
ValueUpdate.createMultiply
(FieldValue key, Number factor) Creates a new value update that multiplies a weight in a weighted set.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 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.void
AddValueUpdate.setValue
(FieldValue value) void
AssignValueUpdate.setValue
(FieldValue value) Sets the value to assign.void
ClearValueUpdate.setValue
(FieldValue value) void
MapValueUpdate.setValue
(FieldValue value) Sets the key of the nested updatevoid
RemoveValueUpdate.setValue
(FieldValue value) Method parameters in com.yahoo.document.update with type arguments of type FieldValueModifier and TypeMethodDescriptionstatic 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 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.createAddAll
(List<? extends FieldValue> values) Creates a new value update specifying an addition of all values in a given list to an array.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.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.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.Constructors in com.yahoo.document.update with parameters of type FieldValueModifierConstructorDescriptionAddValueUpdate
(FieldValue key, int weight) AssignValueUpdate
(FieldValue value) MapValueUpdate
(FieldValue value, ValueUpdate update) RemoveValueUpdate
(FieldValue value) -
Uses of FieldValue in com.yahoo.vespaxmlparser
Methods in com.yahoo.vespaxmlparser with type parameters of type FieldValueModifier and TypeMethodDescription<T extends FieldValue>
void<T extends FieldValue>
voidVespaXMLFieldReader.read
(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) <K extends FieldValue,
V extends FieldValue>
voidVespaXMLFieldReader.read
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) <K extends FieldValue,
V extends FieldValue>
voidVespaXMLFieldReader.read
(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) <T extends FieldValue>
voidVespaXMLFieldReader.read
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value) Methods in com.yahoo.vespaxmlparser with parameters of type FieldValueModifier and TypeMethodDescriptionvoid
VespaXMLFieldReader.read
(com.yahoo.vespa.objects.FieldBase field, FieldValue value)