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
Constructors -
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:
convertin classAvroDatumConverter<AvroWrapper<?>,Object>
-
getWriterSchema
Gets the writer schema that should be used to serialize the output Avro datum.- Specified by:
getWriterSchemain classAvroDatumConverter<AvroWrapper<?>,Object> - Returns:
- The writer schema for the output Avro datum.
-