Package com.yahoo.document.serialization
Class VespaDocumentDeserializer6
java.lang.Object
com.yahoo.vespa.objects.BufferSerializer
com.yahoo.document.serialization.VespaDocumentDeserializer6
- All Implemented Interfaces:
AnnotationReader,DocumentDeserializer,DocumentReader,DocumentUpdateReader,FieldReader,SpanNodeReader,SpanTreeReader,com.yahoo.vespa.objects.Deserializer,com.yahoo.vespa.objects.Serializer
- Direct Known Subclasses:
VespaDocumentDeserializerHead
@Deprecated(forRemoval=true)
public class VespaDocumentDeserializer6
extends com.yahoo.vespa.objects.BufferSerializer
implements DocumentDeserializer
Deprecated, for removal: This API element is subject to removal in a future version.
Class used for de-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 TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.voidread(AlternateSpanList altSpanList) Deprecated, for removal: This API element is subject to removal in a future version.voidread(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.Read a documentvoidread(DocumentUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidread(AddFieldPathUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidread(AssignFieldPathUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidread(FieldPathUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidread(RemoveFieldPathUpdate update) Deprecated, for removal: This API element is subject to removal in a future version.voidread(FieldUpdate fieldUpdate) Deprecated, for removal: This API element is subject to removal in a future version.voidread(com.yahoo.vespa.objects.FieldBase field, AnnotationReference value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of annotation reference.<T extends FieldValue>
voidDeprecated, for removal: This API element is subject to removal in a future version.Read in the value of array fieldvoidread(com.yahoo.vespa.objects.FieldBase field, BoolFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of byte fieldvoidread(com.yahoo.vespa.objects.FieldBase field, ByteFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of byte field<T extends FieldValue>
voidread(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of collection fieldvoidread(com.yahoo.vespa.objects.FieldBase field, DoubleFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of double fieldvoidread(com.yahoo.vespa.objects.FieldBase field, FieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of fieldvoidread(com.yahoo.vespa.objects.FieldBase field, FloatFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of float fieldvoidread(com.yahoo.vespa.objects.FieldBase field, IntegerFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of integer fieldvoidread(com.yahoo.vespa.objects.FieldBase field, LongFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of long field<K extends FieldValue,V extends FieldValue>
voidread(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Deprecated, for removal: This API element is subject to removal in a future version.Read the value of a map fieldvoidread(com.yahoo.vespa.objects.FieldBase field, PredicateFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of predicate fieldvoidDeprecated, for removal: This API element is subject to removal in a future version.Read in the value of raw fieldvoidread(com.yahoo.vespa.objects.FieldBase field, ReferenceFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of the given reference field.voidread(com.yahoo.vespa.objects.FieldBase field, StringFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of string fieldvoidDeprecated, for removal: This API element is subject to removal in a future version.Read in the value of struct fieldvoidread(com.yahoo.vespa.objects.FieldBase field, StructuredFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of structured fieldvoidread(com.yahoo.vespa.objects.FieldBase field, TensorFieldValue value) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of the given tensor field.<T extends FieldValue>
voidread(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> ws) Deprecated, for removal: This API element is subject to removal in a future version.Read in the value of weighted set fieldvoidDeprecated, for removal: This API element is subject to removal in a future version.Read in the value of fieldDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.protected ValueUpdatereadTensorAddUpdate(DataType type) Deprecated, for removal: This API element is subject to removal in a future version.protected ValueUpdateDeprecated, for removal: This API element is subject to removal in a future version.protected ValueUpdateDeprecated, for removal: This API element is subject to removal in a future version.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.vespa.objects.Deserializer
getByte, getBytes, getDouble, getFloat, getInt, getLong, getShort, getStringMethods inherited from interface com.yahoo.document.serialization.DocumentDeserializer
getBuf
-
Method Details
-
getTypeRepo
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getTypeRepoin interfaceDocumentDeserializer
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DocumentReaderRead a document- Specified by:
readin interfaceDocumentReader- Parameters:
document- - document to be read
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)doc- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of array field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)array- - field value
-
read
public <K extends FieldValue,V extends FieldValue> void 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.Description copied from interface:FieldReaderRead the value of a map field- Specified by:
readin interfaceFieldReader
-
read
public <T extends FieldValue> void read(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of collection field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of byte field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of byte field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of double field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of float field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of integer field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of long field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of raw field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of predicate field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of string field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of the given tensor field.- Specified by:
readin interfaceFieldReader- Parameters:
field- field description (name and data type)value- tensor field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of the given reference field.- Specified by:
readin interfaceFieldReader- Parameters:
field- field description (name and data type)value- reference field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of struct field- Specified by:
readin interfaceFieldReader- Parameters:
fieldDef- - field description (name and data type)s- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of structured field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of weighted set field- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)ws- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldReaderRead in the value of annotation reference.- Specified by:
readin interfaceFieldReader- Parameters:
field- - field description (name and data type)value- - field value
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceDocumentUpdateReader
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceDocumentUpdateReader
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceDocumentUpdateReader
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceDocumentUpdateReader
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceDocumentUpdateReader
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceDocumentUpdateReader
-
readDocumentId
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readDocumentIdin interfaceDocumentReader- Specified by:
readDocumentIdin interfaceDocumentUpdateReader
-
readDocumentType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readDocumentTypein interfaceDocumentReader- Specified by:
readDocumentTypein interfaceDocumentUpdateReader
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceSpanTreeReader
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceAnnotationReader
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceSpanNodeReader
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceSpanNodeReader
-
read
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceSpanNodeReader
-
readTensorModifyUpdate
Deprecated, for removal: This API element is subject to removal in a future version. -
readTensorAddUpdate
Deprecated, for removal: This API element is subject to removal in a future version. -
readTensorRemoveUpdate
Deprecated, for removal: This API element is subject to removal in a future version.
-