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