Uses of Interface
com.yahoo.document.serialization.FieldWriter
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 FieldWriter in com.yahoo.document
-
Uses of FieldWriter in com.yahoo.document.annotation
Modifier and TypeMethodDescriptionvoid
AnnotationReference.serialize
(Field field, FieldWriter writer) -
Uses of FieldWriter in com.yahoo.document.datatypes
Modifier and TypeMethodDescriptionvoid
Array.serialize
(Field field, FieldWriter writer) void
BoolFieldValue.serialize
(Field field, FieldWriter writer) void
ByteFieldValue.serialize
(Field field, FieldWriter writer) void
DoubleFieldValue.serialize
(Field field, FieldWriter writer) abstract void
FieldValue.serialize
(Field field, FieldWriter writer) Write out field value to the specified writervoid
Float16FieldValue.serialize
(Field field, FieldWriter writer) void
FloatFieldValue.serialize
(Field field, FieldWriter writer) void
IntegerFieldValue.serialize
(Field field, FieldWriter writer) void
LongFieldValue.serialize
(Field field, FieldWriter writer) void
MapFieldValue.serialize
(Field field, FieldWriter writer) void
PredicateFieldValue.serialize
(Field field, FieldWriter writer) void
Raw.serialize
(Field field, FieldWriter writer) void
ReferenceFieldValue.serialize
(Field field, FieldWriter writer) void
StringFieldValue.serialize
(Field field, FieldWriter writer) void
Struct.serialize
(Field field, FieldWriter writer) void
TensorFieldValue.serialize
(Field field, FieldWriter writer) void
WeightedSet.serialize
(Field field, FieldWriter writer) -
Uses of FieldWriter in com.yahoo.document.json
Modifier and TypeClassDescriptionclass
Serialize Document and other FieldValue instances as JSON.Modifier 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 void
JsonSerializationHelper.serializeStructField
(FieldWriter fieldWriter, com.fasterxml.jackson.core.JsonGenerator generator, com.yahoo.vespa.objects.FieldBase field, Struct value) static void
JsonSerializationHelper.serializeStructuredField
(FieldWriter fieldWriter, com.fasterxml.jackson.core.JsonGenerator generator, com.yahoo.vespa.objects.FieldBase field, StructuredFieldValue value) -
Uses of FieldWriter in com.yahoo.document.serialization
Modifier and TypeInterfaceDescriptioninterface
Interface for serializing documents.interface
Modifier and TypeClassDescriptionclass
Class used for serializing documents on the Vespa 6.x document format.class
Class used for serializing documents on the current head document format.final class
Render a Document instance as XML.