public class WritableSerDe extends Object implements SerDe<org.apache.hadoop.io.Writable>
| Constructor and Description | 
|---|
| WritableSerDe(Class<? extends org.apache.hadoop.io.Writable> clazz) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.io.Writable | fromBytes(byte[] bytes) | 
| com.google.common.base.Function<byte[],org.apache.hadoop.io.Writable> | fromBytesFunction() | 
| ByteArray | toBytes(org.apache.hadoop.io.Writable obj) | 
public WritableSerDe(Class<? extends org.apache.hadoop.io.Writable> clazz)
public org.apache.hadoop.io.Writable fromBytes(byte[] bytes)
public com.google.common.base.Function<byte[],org.apache.hadoop.io.Writable> fromBytesFunction()
fromBytesFunction in interface SerDe<org.apache.hadoop.io.Writable>Copyright © 2017 The Apache Software Foundation. All rights reserved.