Package com.yahoo.document.serialization
Class DocumentSerializerFactory
java.lang.Object
com.yahoo.document.serialization.DocumentSerializerFactory
Factory for creating document serializers tied to a document format.
- Author:
- geirst
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
DocumentSerializerFactory
public DocumentSerializerFactory()
-
-
Method Details
-
createHead
Creates a serializer for the current head document format. This format is an extension of the 6.x format. -
create6
Creates a serializer for the 6.x document format. This format is an extension of the 4.2 format. -
create6
Creates a serializer for the 6.x document format. This format is an extension of the 4.2 format.
-