Class DocumentSerializerFactory


  • public class DocumentSerializerFactory
    extends java.lang.Object
    Factory for creating document serializers tied to a document format.
    Author:
    geirst
    • Constructor Detail

      • DocumentSerializerFactory

        public DocumentSerializerFactory()
    • Method Detail

      • createHead

        public static DocumentSerializer createHead​(com.yahoo.io.GrowableByteBuffer buf)
        Creates a serializer for the current head document format. This format is an extension of the 6.x format.
      • create6

        public static DocumentSerializer create6​(com.yahoo.io.GrowableByteBuffer buf)
        Creates a serializer for the 6.x document format. This format is an extension of the 4.2 format.
      • create6

        public static DocumentSerializer create6()
        Creates a serializer for the 6.x document format. This format is an extension of the 4.2 format.