Package com.yahoo.document.serialization
Class DocumentDeserializerFactory
java.lang.Object
com.yahoo.document.serialization.DocumentDeserializerFactory
Factory for creating document de-serializers tied to a document format.
- Author:
- geirst
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentDeserializer
create6
(DocumentTypeManager manager, com.yahoo.io.GrowableByteBuffer buf) Creates a de-serializer for the 6.x document format.static DocumentDeserializer
createHead
(DocumentTypeManager manager, com.yahoo.io.GrowableByteBuffer buf) Creates a de-serializer for the current head document format.
-
Constructor Details
-
DocumentDeserializerFactory
public DocumentDeserializerFactory()
-
-
Method Details
-
createHead
public static DocumentDeserializer createHead(DocumentTypeManager manager, com.yahoo.io.GrowableByteBuffer buf) Creates a de-serializer for the current head document format. This format is an extension of the 6.x format. -
create6
public static DocumentDeserializer create6(DocumentTypeManager manager, com.yahoo.io.GrowableByteBuffer buf) Creates a de-serializer for the 6.x document format. This format is an extension of the 4.2 format.
-