public interface Bytable
Bytable defines master and worker results.
Bytable is coped from Hadoop io Writable. Hadoop Writable was used firstly but Bytable is used to
make guagua-core independent (not depend on any platform).
To use Hadoop original Writable, GuaguaWritableAdapter in guagua-mapreduce module is an adapter to help you re-use Hadoop existing Writable in guagua application.
in guagua-mapreduce| Modifier and Type | Method and Description |
|---|---|
void |
readFields(DataInput in)
De-serialize the fields of this object from
in. |
void |
write(DataOutput out)
Serialize the fields of this object to
out. |
void write(DataOutput out) throws IOException
out.out - DataOuput to serialize this object into.IOException - In case of any io exception.void readFields(DataInput in) throws IOException
in.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
in - DataInput to de-seriablize this object from.IOException - In case of any io exception.Copyright © 2018. All Rights Reserved.