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