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