org.apache.hadoop.io 中定义了大量的可序列化对象,他们都实现了 Writable 接口。 Writeable接口定义了两个方法,write和readFiles,分别实现了把对象序列化和反序列化的功能。