Package com.yahoo.document.serialization
Class VespaDocumentSerializer6
java.lang.Object
com.yahoo.vespa.objects.BufferSerializer
com.yahoo.document.serialization.VespaDocumentSerializer6
- All Implemented Interfaces:
AnnotationWriter,DocumentSerializer,DocumentUpdateWriter,DocumentWriter,FieldWriter,SpanNodeWriter,SpanTreeWriter,com.yahoo.vespa.objects.Deserializer,com.yahoo.vespa.objects.Serializer
- Direct Known Subclasses:
VespaDocumentSerializerHead
@Deprecated(forRemoval=true)
public class VespaDocumentSerializer6
extends com.yahoo.vespa.objects.BufferSerializer
implements DocumentSerializer
Deprecated, for removal: This API element is subject to removal in a future version.
Class used for serializing documents on the Vespa 6.x document format.
- Author:
- baldersheim
-
Field Summary
Fields inherited from class com.yahoo.vespa.objects.BufferSerializer
buf -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(AlternateSpanList altSpanList) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(Annotation annotation) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Writes a document.voidwrite(DocumentId id) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(DocumentRemove documentRemove) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(DocumentType type) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(DocumentUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(AddFieldPathUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(AssignFieldPathUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(FieldPathUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(AddValueUpdate update, DataType superType) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(ArithmeticValueUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(AssignValueUpdate update, DataType superType) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(ClearValueUpdate clearValueUpdate, DataType superType) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(FieldUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(MapValueUpdate update, DataType superType) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(RemoveValueUpdate update, DataType superType) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(TensorAddUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(TensorModifyUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(TensorRemoveUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidwrite(com.yahoo.vespa.objects.FieldBase field, AnnotationReference value) Deprecated, for removal: This API element is subject to removal in a future version.Writes the value of an annotation reference.<T extends FieldValue>
voidDeprecated, for removal: This API element is subject to removal in a future version.Write out the value of array fieldvoidwrite(com.yahoo.vespa.objects.FieldBase field, BoolFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Writes the value of byte field.voidwrite(com.yahoo.vespa.objects.FieldBase field, ByteFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of byte field<T extends FieldValue>
voidwrite(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 fieldvoidwrite(com.yahoo.vespa.objects.FieldBase field, DoubleFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of double fieldvoidwrite(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 fieldvoidwrite(com.yahoo.vespa.objects.FieldBase field, FloatFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of float fieldvoidwrite(com.yahoo.vespa.objects.FieldBase field, IntegerFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of integer fieldvoidwrite(com.yahoo.vespa.objects.FieldBase field, LongFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of long field<K extends FieldValue,V extends FieldValue>
voidwrite(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Deprecated, for removal: This API element is subject to removal in a future version.Writes the value of a map field.voidwrite(com.yahoo.vespa.objects.FieldBase field, PredicateFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Writes the value of a predicate field.voidDeprecated, for removal: This API element is subject to removal in a future version.Write out the value of raw fieldvoidwrite(com.yahoo.vespa.objects.FieldBase field, ReferenceFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Writes the value of a reference field.voidwrite(com.yahoo.vespa.objects.FieldBase field, StringFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of string fieldvoidDeprecated, for removal: This API element is subject to removal in a future version.Write out the value of struct fieldvoidwrite(com.yahoo.vespa.objects.FieldBase field, StructuredFieldValue s) Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of structured fieldvoidwrite(com.yahoo.vespa.objects.FieldBase field, TensorFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Writes the value of a tensor field.<T extends FieldValue>
voidwrite(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 fieldvoidDeprecated, for removal: This API element is subject to removal in a future version.Writes the value of a field.Methods inherited from class com.yahoo.vespa.objects.BufferSerializer
createUTF8CharArray, flip, getBuf, getByte, getBytes, getDouble, getFloat, getInt, getInt1_2_4Bytes, getInt1_4Bytes, getInt2_4_8Bytes, getLong, getShort, getString, order, order, position, position, put, put, put, putByte, putDouble, putFloat, putInt, putInt1_4Bytes, putInt2_4_8Bytes, putLong, putShort, remaining, setBuf, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.document.serialization.DocumentSerializer
getBufMethods inherited from interface com.yahoo.vespa.objects.Serializer
put, put, put, putByte, putDouble, putFloat, putInt, putLong, putShort
-
Method Details
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DocumentWriterWrites a document.- Specified by:
writein interfaceDocumentWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldWriterWrites the value of a field.- Specified by:
writein interfaceFieldWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)value- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of array field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)array- - field value
-
write
public <K extends FieldValue,V extends FieldValue> void 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.Description copied from interface:FieldWriterWrites the value of a map field.- Specified by:
writein interfaceFieldWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of byte field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)value- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldWriterWrites the value of byte field.- Specified by:
writein interfaceFieldWriter
-
write
public <T extends FieldValue> void 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- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)value- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of double field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)value- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of float field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)value- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of integer field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)value- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of long field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)value- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of raw field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)value- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldWriterWrites the value of a predicate field.- Specified by:
writein interfaceFieldWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of string field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)value- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldWriterWrites the value of a tensor field.- Specified by:
writein interfaceFieldWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldWriterWrites the value of a reference field.- Specified by:
writein interfaceFieldWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of structured field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)s- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Write out the value of struct field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)value- - field value
-
write
public <T extends FieldValue> void 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 field- Specified by:
writein interfaceFieldWriter- Parameters:
field- - field description (name and data type)ws- - field value
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldWriterWrites the value of an annotation reference.- Specified by:
writein interfaceFieldWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceAnnotationWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceSpanTreeWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceSpanNodeWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceSpanNodeWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceSpanNodeWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceSpanNodeWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter- Specified by:
writein interfaceDocumentWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
writein interfaceDocumentUpdateWriter
-