Package org.apache.avro.hadoop.io
Class AvroDatumConverterFactory.AvroWrapperConverter
java.lang.Object
org.apache.avro.hadoop.io.AvroDatumConverter<AvroWrapper<?>,Object>
org.apache.avro.hadoop.io.AvroDatumConverterFactory.AvroWrapperConverter
- Enclosing class:
AvroDatumConverterFactory
public static class AvroDatumConverterFactory.AvroWrapperConverter
extends AvroDatumConverter<AvroWrapper<?>,Object>
Converts AvroWrappers into their wrapped Avro data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(AvroWrapper<?> input) Gets the writer schema that should be used to serialize the output Avro datum.
-
Constructor Details
-
AvroWrapperConverter
-
-
Method Details
-
convert
- Specified by:
convert
in classAvroDatumConverter<AvroWrapper<?>,
Object>
-
getWriterSchema
Gets the writer schema that should be used to serialize the output Avro datum.- Specified by:
getWriterSchema
in classAvroDatumConverter<AvroWrapper<?>,
Object> - Returns:
- The writer schema for the output Avro datum.
-