T - Type of object to be serialized.public interface WritableWriter<T>
| Modifier and Type | Method and Description |
|---|---|
T |
readFields(DataInput in)
Deserialize the fields of object from
in. |
void |
write(DataOutput out,
T value)
Serialize the fields of
value to out. |
void write(DataOutput out, T value) throws IOException
value to out.out - DataOuput to serialize object into.value - Object to serializeIOExceptionT readFields(DataInput in) throws IOException
in.in - DataInput to deseriablize object from.IOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.