public abstract class AvroSchemaFactory<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AvroSchemaFactoryContext |
context |
protected static org.apache.avro.Schema |
NULL_SCHEMA |
| Constructor and Description |
|---|
AvroSchemaFactory(AvroSchemaFactoryContext context) |
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.avro.Schema |
createSchema(T input) |
abstract String |
getName(T input) |
String |
getQualifiedName(T input) |
protected org.apache.avro.Schema |
nullable(org.apache.avro.Schema schema) |
protected static final org.apache.avro.Schema NULL_SCHEMA
protected final AvroSchemaFactoryContext context
public AvroSchemaFactory(AvroSchemaFactoryContext context)
public abstract org.apache.avro.Schema createSchema(T input)
public String getQualifiedName(T input)
protected org.apache.avro.Schema nullable(org.apache.avro.Schema schema)
Copyright © 2019 Nuxeo. All rights reserved.