Class AvroSchemaFactory<T>

java.lang.Object
org.nuxeo.runtime.avro.AvroSchemaFactory<T>
Direct Known Subclasses:
ComplexTypeSchemaFactory, DocumentModelSchemaFactory, DocumentTypeSchemaFactory, SchemaSchemaFactory, TypeSchemaFactory

public abstract class AvroSchemaFactory<T> extends Object
The base class for any AvroSchemaFactory.
Since:
10.2
  • Field Details

    • NULL_SCHEMA

      protected static final org.apache.avro.Schema NULL_SCHEMA
    • context

      protected final AvroSchemaFactoryContext context
  • Constructor Details

  • Method Details

    • createSchema

      public abstract org.apache.avro.Schema createSchema(T input)
    • getName

      public abstract String getName(T input)
    • getQualifiedName

      public String getQualifiedName(T input)
    • nullable

      protected org.apache.avro.Schema nullable(org.apache.avro.Schema schema)