public static class AvroDatumConverterFactory.AvroWrapperConverter extends AvroDatumConverter<AvroWrapper<?>,Object>
Constructor and Description |
---|
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 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–2020 The Apache Software Foundation. All rights reserved.