public class WritableUtils2 extends Object
| Constructor and Description |
|---|
WritableUtils2() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.apache.hadoop.io.Writable> |
asWritable(byte[] bytes,
Class<T> clazz) |
static byte[] |
serialize(org.apache.hadoop.io.Writable writable) |
public static byte[] serialize(org.apache.hadoop.io.Writable writable)
throws IOException
IOExceptionpublic static <T extends org.apache.hadoop.io.Writable> T asWritable(byte[] bytes,
Class<T> clazz)
throws IOException
IOExceptionCopyright © 2014 Calrissian. All Rights Reserved.