Package com.yahoo.document.serialization
Class VespaDocumentDeserializerHead
java.lang.Object
com.yahoo.vespa.objects.BufferSerializer
com.yahoo.document.serialization.VespaDocumentDeserializer6
com.yahoo.document.serialization.VespaDocumentDeserializerHead
- All Implemented Interfaces:
AnnotationReader
,DocumentDeserializer
,DocumentReader
,DocumentUpdateReader
,FieldReader
,SpanNodeReader
,SpanTreeReader
,com.yahoo.vespa.objects.Deserializer
,com.yahoo.vespa.objects.Serializer
Class used for de-serializing documents on the current head document format.
- Author:
- baldersheim
-
Field Summary
Fields inherited from class com.yahoo.vespa.objects.BufferSerializer
buf
-
Constructor Summary
ConstructorDescriptionVespaDocumentDeserializerHead
(DocumentTypeManager manager, com.yahoo.io.GrowableByteBuffer buffer) -
Method Summary
Modifier and TypeMethodDescriptionprotected ValueUpdate
readTensorAddUpdate
(DataType type) protected ValueUpdate
protected ValueUpdate
Methods inherited from class com.yahoo.document.serialization.VespaDocumentDeserializer6
getDocumentTypeManager, getTypeRepo, getValueUpdate, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, readDocumentId, readDocumentType
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, wrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yahoo.vespa.objects.Deserializer
getByte, getBytes, getDouble, getFloat, getInt, getLong, getShort, getString
Methods inherited from interface com.yahoo.document.serialization.DocumentDeserializer
getBuf
-
Constructor Details
-
VespaDocumentDeserializerHead
public VespaDocumentDeserializerHead(DocumentTypeManager manager, com.yahoo.io.GrowableByteBuffer buffer)
-
-
Method Details
-
readTensorModifyUpdate
- Overrides:
readTensorModifyUpdate
in classVespaDocumentDeserializer6
-
readTensorAddUpdate
- Overrides:
readTensorAddUpdate
in classVespaDocumentDeserializer6
-
readTensorRemoveUpdate
- Overrides:
readTensorRemoveUpdate
in classVespaDocumentDeserializer6
-