public abstract class AvroMapper<D,M> extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
CANNOT_MAP_FROM |
protected static String |
CANNOT_MAP_TO |
protected static String |
LOGICAL_TYPE |
protected AvroService |
service |
Modifier | Constructor and Description |
---|---|
protected |
AvroMapper(AvroService service) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
fromAvro(org.apache.avro.Schema schema,
M input) |
protected String |
getLogicalType(org.apache.avro.Schema schema) |
abstract M |
toAvro(org.apache.avro.Schema schema,
D input) |
protected static final String CANNOT_MAP_TO
protected static final String CANNOT_MAP_FROM
protected static final String LOGICAL_TYPE
protected final AvroService service
protected AvroMapper(AvroService service)
Copyright © 2018 Nuxeo. All rights reserved.