public static class AvroDatumConverterFactory.DoubleWritableConverter extends AvroDatumConverter<org.apache.hadoop.io.DoubleWritable,Double>
Constructor and Description |
---|
DoubleWritableConverter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Double |
convert(org.apache.hadoop.io.DoubleWritable input) |
Schema |
getWriterSchema()
Gets the writer schema that should be used to serialize the output Avro
datum.
|
public Double convert(org.apache.hadoop.io.DoubleWritable input)
convert
in class AvroDatumConverter<org.apache.hadoop.io.DoubleWritable,Double>
public Schema getWriterSchema()
getWriterSchema
in class AvroDatumConverter<org.apache.hadoop.io.DoubleWritable,Double>
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.