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