ml.shifu.guagua.io
接口 Bytable

所有已知实现类:
HaltBytable

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

方法摘要
 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.
 

方法详细信息

write

void write(DataOutput out)
           throws IOException
Serialize the fields of this object to out.

参数:
out - DataOuput to serialize this object into.
抛出:
IOException - In case of any io exception.

readFields

void readFields(DataInput in)
                throws IOException
De-serialize the fields of this object from 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 © 2014. All Rights Reserved.