Package com.yahoo.document.serialization
Interface DocumentSerializer
- All Superinterfaces:
AnnotationWriter
,DocumentUpdateWriter
,DocumentWriter
,FieldWriter
,com.yahoo.vespa.objects.Serializer
,SpanNodeWriter
,SpanTreeWriter
- All Known Implementing Classes:
VespaDocumentSerializer6
,VespaDocumentSerializerHead
public interface DocumentSerializer
extends DocumentWriter, SpanNodeWriter, AnnotationWriter, SpanTreeWriter, DocumentUpdateWriter
Interface for serializing documents.
A particular instance of this class is tied to a version of the document format.
- Author:
- geirst
-
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.io.GrowableByteBuffer
getBuf()
Returns the underlying buffer used for serialization.Methods inherited from interface com.yahoo.document.serialization.AnnotationWriter
write
Methods inherited from interface com.yahoo.document.serialization.DocumentUpdateWriter
write, write, write, write, write, write, write, write, write, write, write
Methods inherited from interface com.yahoo.document.serialization.DocumentWriter
write, write, write
Methods inherited from interface com.yahoo.document.serialization.FieldWriter
write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write
Methods inherited from interface com.yahoo.vespa.objects.Serializer
put, put, put, putByte, putDouble, putFloat, putInt, putLong, putShort
Methods inherited from interface com.yahoo.document.serialization.SpanNodeWriter
write, write, write, write
Methods inherited from interface com.yahoo.document.serialization.SpanTreeWriter
write
-
Method Details
-
getBuf
com.yahoo.io.GrowableByteBuffer getBuf()Returns the underlying buffer used for serialization.
-