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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentSerializercreate6()Deprecated, for removal: This API element is subject to removal in a future version.static DocumentSerializercreate6(com.yahoo.io.GrowableByteBuffer buf) Deprecated, for removal: This API element is subject to removal in a future version.static DocumentSerializercreateHead(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
@Deprecated(forRemoval=true) public static DocumentSerializer create6(com.yahoo.io.GrowableByteBuffer buf) Deprecated, for removal: This API element is subject to removal in a future version.Creates a serializer for the 6.x document format. This format is an extension of the 4.2 format. Deprecated, use createHead instead. -
create6
Deprecated, for removal: This API element is subject to removal in a future version.Creates a serializer for the 6.x document format. This format is an extension of the 4.2 format. Deprecated, use createHead instead.
-