Package com.yahoo.document.serialization
Class DocumentSerializerFactory
- java.lang.Object
-
- com.yahoo.document.serialization.DocumentSerializerFactory
-
public class DocumentSerializerFactory extends java.lang.Object
Factory for creating document serializers tied to a document format.- Author:
- geirst
-
-
Constructor Summary
Constructors Constructor Description DocumentSerializerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentSerializer
create6()
Creates a serializer for the 6.x document format.static DocumentSerializer
create6(com.yahoo.io.GrowableByteBuffer buf)
Creates a serializer for the 6.x document format.static DocumentSerializer
createHead(com.yahoo.io.GrowableByteBuffer buf)
Creates a serializer for the current head document format.
-
-
-
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.
-
-