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 Details

    • getBuf

      com.yahoo.io.GrowableByteBuffer getBuf()
      Returns the underlying buffer used for serialization.