添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
public void write(DataOutput out)
           throws IOException
Description copied from interface: Writable
Serialize the fields of this object to out .
Specified by:
write in interface Writable
Overrides:
write in class AbstractMapWritable
Parameters:
out - DataOuput to serialize this object into.
Throws:
IOException - any other problem for write.
public void readFields(DataInput in)
                throws IOException
Description copied from interface: Writable
Deserialize the fields of this object from in .

For efficiency, implementations should attempt to re-use storage in the existing object where possible.

Specified by:
readFields in interface Writable
Overrides:
readFields in class AbstractMapWritable
Parameters:
in - DataInput to deseriablize this object from.
Throws:
IOException - any other problem for readFields.