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