|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
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. |
| 方法详细信息 |
|---|
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.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||