public class FloatToDoubleWritableWrapper extends Object implements WritableWrapper<org.apache.hadoop.io.DoubleWritable,Float>
Constructor and Description |
---|
FloatToDoubleWritableWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
wrap(Float javaValue,
org.apache.hadoop.io.DoubleWritable writableValue)
Convert from java type to writable type
|
public void wrap(Float javaValue, org.apache.hadoop.io.DoubleWritable writableValue)
WritableWrapper
wrap
in interface WritableWrapper<org.apache.hadoop.io.DoubleWritable,Float>
javaValue
- java typewritableValue
- writable valueCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.