Uses of Class
com.yahoo.document.datatypes.WeightedSet
Packages that use WeightedSet
Package
Description
Infrastructure for building Vespa documents and feed operations from JSON.
-
Uses of WeightedSet in com.yahoo.document
Methods in com.yahoo.document that return WeightedSet -
Uses of WeightedSet in com.yahoo.document.datatypes
Methods in com.yahoo.document.datatypes that return WeightedSet -
Uses of WeightedSet in com.yahoo.document.json
Methods in com.yahoo.document.json with parameters of type WeightedSetModifier and TypeMethodDescriptionstatic <T extends FieldValue>
voidJsonSerializationHelper.serializeWeightedSet
(com.fasterxml.jackson.core.JsonGenerator generator, com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value) <T extends FieldValue>
voidJsonWriter.write
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value) -
Uses of WeightedSet in com.yahoo.document.json.readers
Methods in com.yahoo.document.json.readers with parameters of type WeightedSetModifier and TypeMethodDescriptionstatic void
WeightedSetReader.fillWeightedSet
(TokenBuffer buffer, DataType valueType, WeightedSet weightedSet) static void
WeightedSetReader.fillWeightedSetUpdate
(TokenBuffer buffer, int initNesting, DataType valueType, WeightedSet weightedSet) -
Uses of WeightedSet in com.yahoo.document.serialization
Methods in com.yahoo.document.serialization with parameters of type WeightedSetModifier and TypeMethodDescriptionstatic void
XmlSerializationHelper.printWeightedSetXml
(WeightedSet ws, XmlStream xml) <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>
voidVespaDocumentDeserializer6.read
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> ws) <T extends FieldValue>
voidFieldWriter.write
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value) Write out the value of weighted set field<T extends FieldValue>
voidVespaDocumentSerializer6.write
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> ws) Write out the value of weighted set field<T extends FieldValue>
voidXmlDocumentWriter.write
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value) -
Uses of WeightedSet in com.yahoo.document.update
Methods in com.yahoo.document.update with parameters of type WeightedSetModifier 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 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 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 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. -
Uses of WeightedSet in com.yahoo.vespaxmlparser
Methods in com.yahoo.vespaxmlparser with parameters of type WeightedSetModifier and TypeMethodDescription<T extends FieldValue>
voidVespaXMLFieldReader.read
(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value)