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 TypeClassDescriptionclassA document is an identifiable set of value bindings of adocument type.Methods in com.yahoo.document that return FieldValueModifier and TypeMethodDescriptionabstract FieldValuePrimitiveDataType.Factory.create()abstract FieldValueprotected FieldValueCollectionDataType.createByReflection(Object arg) protected FieldValueDataType.createByReflection(Object arg) Creates a field value by reflectionprotected FieldValueMapDataType.createByReflection(Object arg) protected FieldValueStructuredDataType.createByReflection(Object arg) abstract FieldValueDataType.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 TypeMethodDescriptionintDocument.compareTo(FieldValue fieldValue) protected voidDocument.doSetFieldValue(Field field, FieldValue value) static IntegerFieldValuePositionDataType.getXValue(FieldValue pos) static IntegerFieldValuePositionDataType.getYValue(FieldValue pos) booleanCollectionDataType.isValueCompatible(FieldValue value) abstract booleanDataType.isValueCompatible(FieldValue value) booleanDocumentType.isValueCompatible(FieldValue value) booleanMapDataType.isValueCompatible(FieldValue value) booleanPrimitiveDataType.isValueCompatible(FieldValue value) booleanReferenceDataType.isValueCompatible(FieldValue value) booleanStructDataType.isValueCompatible(FieldValue value) booleanTensorDataType.isValueCompatible(FieldValue value) static FieldPathEntryFieldPathEntry.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 FieldValueModifierConstructorDescriptionprotectedNumericDataType(String name, int code, Class<? extends FieldValue> type, PrimitiveDataType.Factory factory) Creates a datatypeprotectedPrimitiveDataType(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 TypeClassDescriptionclassA 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.intAnnotationReference.compareTo(FieldValue fieldValue) booleanAnnotationReferenceDataType.isValueCompatible(FieldValue value) voidAnnotation.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 classArray<T extends FieldValue>FieldValue which encapsulates an Array valueclassCollectionFieldValue<T extends FieldValue>Superclass of multivalue field valuesclassMapFieldValue<K extends FieldValue,V extends FieldValue> Vespa map.classMapFieldValue<K extends FieldValue,V extends FieldValue> Vespa map.final classWeightedSet<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 classArray<T extends FieldValue>FieldValue which encapsulates an Array valueclassA boolean field valueclassA byte field valueclassCollectionFieldValue<T extends FieldValue>Superclass of multivalue field valuesclassfinal classA 64-bit float field valuefinal classA 16-bit float field valuefinal classA 32-bit float field valuefinal classA 32-bit integer field valuefinal classA 64-bit integer field valueclassMapFieldValue<K extends FieldValue,V extends FieldValue> Vespa map.classclassfinal classA field value which is an array of byte dataclassA reference field value allows search queries to access fields in other document instances as if they were fields natively stored within the searched document.classA StringFieldValue is a wrapper class that holds a String inDocuments and otherFieldValues.classclassclassField value class that wraps a tensor.classfinal classWeightedSet<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 FieldValueFieldValue.create(FieldReader reader, DataType type) protected FieldValueCollectionFieldValue.createFieldValue(Object o) Utility function to wrap primitives.Array.getFieldValue(int index) Struct.getFieldValue(Field field) abstract FieldValueStructuredFieldValue.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 FieldValueStructuredFieldValue.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 FieldValueStructuredFieldValue.setFieldValue(Field field, Byte value) final FieldValueStructuredFieldValue.setFieldValue(Field field, Double value) final FieldValueStructuredFieldValue.setFieldValue(Field field, Integer value) final FieldValueStructuredFieldValue.setFieldValue(Field field, Long value) final FieldValueStructuredFieldValue.setFieldValue(Field field, String value) StructuredFieldValue.setFieldValue(String fieldName, FieldValue value) Convenience method to set the value of a named field.final FieldValueStructuredFieldValue.setFieldValue(String field, Boolean value) final FieldValueStructuredFieldValue.setFieldValue(String field, Byte value) final FieldValueStructuredFieldValue.setFieldValue(String field, Double value) final FieldValueStructuredFieldValue.setFieldValue(String field, Integer value) final FieldValueStructuredFieldValue.setFieldValue(String field, Long value) final FieldValueStructuredFieldValue.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 TypeMethodDescriptionintArray.compareTo(FieldValue fieldValue) intBoolFieldValue.compareTo(FieldValue other) intByteFieldValue.compareTo(FieldValue fieldValue) intDoubleFieldValue.compareTo(FieldValue fieldValue) intFieldValue.compareTo(FieldValue fieldValue) intFloat16FieldValue.compareTo(FieldValue fieldValue) intFloatFieldValue.compareTo(FieldValue fieldValue) intIntegerFieldValue.compareTo(FieldValue fieldValue) intLongFieldValue.compareTo(FieldValue fieldValue) intMapFieldValue.compareTo(FieldValue fieldValue) intStringFieldValue.compareTo(FieldValue fieldValue) intStruct.compareTo(FieldValue obj) intWeightedSet.compareTo(FieldValue fieldValue) FieldPathIteratorHandler.doModify(FieldValue fv) protected voidStruct.doSetFieldValue(Field field, FieldValue value) protected abstract voidStructuredFieldValue.doSetFieldValue(Field field, FieldValue value) static <T> TStruct.getFieldValue(FieldValue struct, DataType structType, Field field, Class<T> fieldType) static <T> TStruct.getFieldValue(FieldValue struct, DataType structType, String fieldName, Class<T> fieldType) FieldPathIteratorHandler.modify(FieldValue fv) booleanFieldPathIteratorHandler.onComplex(FieldValue fv) voidFieldPathIteratorHandler.onPrimitive(FieldValue fv) booleanArray.removeValue(FieldValue o) abstract booleanCollectionFieldValue.removeValue(FieldValue o) protected booleanCollectionFieldValue.removeValue(FieldValue o, Collection collection) booleanWeightedSet.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 TypeMethodDescriptionvoidAssignFieldPathUpdate.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 TypeMethodDescriptionvoidJsonWriter.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 FieldValueSingleValueReader.readAtomic(String field, DataType expectedType) static FieldValueSingleValueReader.readSingleValue(TokenBuffer buffer, DataType expectedType, boolean ignoreUndefinedFields) Methods in com.yahoo.document.json.readers with parameters of type FieldValueModifier and TypeMethodDescriptionstatic booleanCompositeReader.populateComposite(TokenBuffer buffer, FieldValue fieldValue, boolean ignoreUndefinedFields) Method parameters in com.yahoo.document.json.readers with type arguments of type FieldValueModifier and TypeMethodDescriptionstatic voidArrayReader.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>
voidDeprecated, for removal: This API element is subject to removal in a future version.<T extends FieldValue>
voidVespaDocumentDeserializer6.read(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) Deprecated, for removal: This API element is subject to removal in a future version.<K extends FieldValue,V extends FieldValue>
voidVespaDocumentDeserializer6.read(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Deprecated, for removal: This API element is subject to removal in a future version.<K extends FieldValue,V extends FieldValue>
voidVespaDocumentDeserializer6.read(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Deprecated, for removal: This API element is subject to removal in a future version.<T extends FieldValue>
voidVespaDocumentDeserializer6.read(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> ws) Deprecated, for removal: This API element is subject to removal in a future version.<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>
voidDeprecated, for removal: This API element is subject to removal in a future version.Write out the value of array field<T extends FieldValue>
voidVespaDocumentSerializer6.write(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.<K extends FieldValue,V extends FieldValue>
voidVespaDocumentSerializer6.write(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Deprecated, for removal: This API element is subject to removal in a future version.<T extends FieldValue>
voidVespaDocumentSerializer6.write(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> ws) Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of weighted set fieldMethods in com.yahoo.document.serialization with parameters of type FieldValueModifier and TypeMethodDescriptionvoidFieldReader.read(com.yahoo.vespa.objects.FieldBase field, FieldValue value) Read in the value of fieldvoidVespaDocumentDeserializer6.read(com.yahoo.vespa.objects.FieldBase field, FieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.voidFieldWriter.write(com.yahoo.vespa.objects.FieldBase field, FieldValue value) Writes the value of a field.voidVespaDocumentSerializer6.write(com.yahoo.vespa.objects.FieldBase field, FieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.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 TypeClassDescriptionclassValueUpdate<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 FieldValueAddValueUpdate.valueprotected FieldValueAssignValueUpdate.valueprotected FieldValueMapValueUpdate.valueprotected FieldValueRemoveValueUpdate.valueMethods 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 FieldValueValueUpdate.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 FieldValueValueUpdate.applyTo(FieldValue oldValue) 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 ValueUpdateValueUpdate.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 ValueUpdateValueUpdate.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 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 ValueUpdateValueUpdate.createAssign(FieldValue newValue) Creates a new value update that assigns a new value, completely overwriting the previous value.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 ValueUpdateValueUpdate.createDecrement(FieldValue key, Number decrement) Creates a new value update that decrements a weight in a weighted set.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 ValueUpdateValueUpdate.createDivide(FieldValue key, Number divisor) Creates a new value update that divides a weight in a weighted set.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 ValueUpdateValueUpdate.createIncrement(FieldValue key, Number increment) Creates a new value update that increments a weight in a weighted set.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 ValueUpdateValueUpdate.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 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 ValueUpdateValueUpdate.createMultiply(FieldValue key, Number factor) Creates a new value update that multiplies a weight in a weighted set.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 ValueUpdateValueUpdate.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.voidAddValueUpdate.setValue(FieldValue value) voidAssignValueUpdate.setValue(FieldValue value) Sets the value to assign.voidClearValueUpdate.setValue(FieldValue value) voidMapValueUpdate.setValue(FieldValue value) Sets the key of the nested updatevoidRemoveValueUpdate.setValue(FieldValue value) Method parameters in com.yahoo.document.update with type arguments of type FieldValueModifier and TypeMethodDescriptionstatic 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 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 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.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 TypeMethodDescriptionvoidVespaXMLFieldReader.read(com.yahoo.vespa.objects.FieldBase field, FieldValue value)