Package com.yahoo.document.serialization
Class VespaDocumentSerializerHead
java.lang.Object
com.yahoo.vespa.objects.BufferSerializer
com.yahoo.document.serialization.VespaDocumentSerializer6
com.yahoo.document.serialization.VespaDocumentSerializerHead
- All Implemented Interfaces:
AnnotationWriter
,DocumentSerializer
,DocumentUpdateWriter
,DocumentWriter
,FieldWriter
,SpanNodeWriter
,SpanTreeWriter
,com.yahoo.vespa.objects.Deserializer
,com.yahoo.vespa.objects.Serializer
Class used for serializing documents on the current head document format.
- Author:
- baldersheim
-
Field Summary
Fields inherited from class com.yahoo.vespa.objects.BufferSerializer
buf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(TensorAddUpdate update) void
write
(TensorModifyUpdate update) void
write
(TensorRemoveUpdate update) Methods inherited from class com.yahoo.document.serialization.VespaDocumentSerializer6
getSerializedSize, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write
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.document.serialization.DocumentSerializer
getBuf
Methods inherited from interface com.yahoo.vespa.objects.Serializer
put, put, put, putByte, putDouble, putFloat, putInt, putLong, putShort
-
Constructor Details
-
VespaDocumentSerializerHead
public VespaDocumentSerializerHead(com.yahoo.io.GrowableByteBuffer buf)
-
-
Method Details
-
write
- Specified by:
write
in interfaceDocumentUpdateWriter
- Overrides:
write
in classVespaDocumentSerializer6
-
write
- Specified by:
write
in interfaceDocumentUpdateWriter
- Overrides:
write
in classVespaDocumentSerializer6
-
write
- Specified by:
write
in interfaceDocumentUpdateWriter
- Overrides:
write
in classVespaDocumentSerializer6
-