|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface Bytable
Copy from hadoop io writable. The reason is that we don't want to depend on hadoop for guagua core project.
To use hadoop-original writable, we have adapter in GuaguaWritableAdapter in guagua-mapreduce module to help you re-use hadoop writables.
| 方法摘要 | |
|---|---|
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.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||