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