Package org.nuxeo.ecm.core.io.avro
Class DocumentTypeSchemaFactory
- java.lang.Object
-
- org.nuxeo.runtime.avro.AvroSchemaFactory<DocumentType>
-
- org.nuxeo.ecm.core.io.avro.DocumentTypeSchemaFactory
-
public class DocumentTypeSchemaFactory extends AvroSchemaFactory<DocumentType>
- Since:
- 10.2
-
-
Field Summary
-
Fields inherited from class org.nuxeo.runtime.avro.AvroSchemaFactory
context, NULL_SCHEMA
-
-
Constructor Summary
Constructors Constructor Description DocumentTypeSchemaFactory(AvroSchemaFactoryContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.avro.Schema
createSchema(DocumentType input)
String
getName(DocumentType input)
-
Methods inherited from class org.nuxeo.runtime.avro.AvroSchemaFactory
getQualifiedName, nullable
-
-
-
-
Constructor Detail
-
DocumentTypeSchemaFactory
public DocumentTypeSchemaFactory(AvroSchemaFactoryContext context)
-
-
Method Detail
-
createSchema
public org.apache.avro.Schema createSchema(DocumentType input)
- Specified by:
createSchema
in classAvroSchemaFactory<DocumentType>
-
getName
public String getName(DocumentType input)
- Specified by:
getName
in classAvroSchemaFactory<DocumentType>
-
-