Package com.yahoo.document.serialization
Class DocumentDeserializerFactory
- java.lang.Object
-
- com.yahoo.document.serialization.DocumentDeserializerFactory
-
public class DocumentDeserializerFactory extends Object
Factory for creating document de-serializers tied to a document format.- Author:
- geirst
-
-
Constructor Summary
Constructors Constructor Description DocumentDeserializerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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.
-
-
-
Method Detail
-
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.
-
-