public static class AvroDatumConverterFactory.AvroWrapperConverter extends AvroDatumConverter<AvroWrapper<?>,Object>
Constructor and Description |
---|
AvroDatumConverterFactory.AvroWrapperConverter(Schema schema) |
Modifier and Type | Method and Description |
---|---|
Object |
convert(AvroWrapper<?> input) |
Schema |
getWriterSchema()
Gets the writer schema that should be used to serialize the output Avro datum.
|
public AvroDatumConverterFactory.AvroWrapperConverter(Schema schema)
public Object convert(AvroWrapper<?> input)
convert
in class AvroDatumConverter<AvroWrapper<?>,Object>
public Schema getWriterSchema()
getWriterSchema
in class AvroDatumConverter<AvroWrapper<?>,Object>
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.