public static class AvroDatumConverterFactory.FloatWritableConverter extends AvroDatumConverter<org.apache.hadoop.io.FloatWritable,Float>
Constructor and Description |
---|
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 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–2021 The Apache Software Foundation. All rights reserved.