public static class AvroDatumConverterFactory.FloatWritableConverter extends AvroDatumConverter<org.apache.hadoop.io.FloatWritable,Float>
Constructor and Description |
---|
AvroDatumConverterFactory.FloatWritableConverter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Float |
convert(org.apache.hadoop.io.FloatWritable input) |
Schema |
getWriterSchema()
Gets the writer schema that should be used to serialize the output Avro datum.
|
public AvroDatumConverterFactory.FloatWritableConverter()
public Float convert(org.apache.hadoop.io.FloatWritable input)
convert
in class AvroDatumConverter<org.apache.hadoop.io.FloatWritable,Float>
public Schema getWriterSchema()
getWriterSchema
in class AvroDatumConverter<org.apache.hadoop.io.FloatWritable,Float>
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.