Class DocumentSerializerFactory

java.lang.Object
com.yahoo.document.serialization.DocumentSerializerFactory

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

    • DocumentSerializerFactory

      public DocumentSerializerFactory()
  • Method Details

    • 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.