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