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