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