- All Implemented Interfaces:
- KryoIgnoreWritable, org.apache.hadoop.io.Writable
- Direct Known Subclasses:
- PageRankWithKryoSimpleWritable.EdgeValue, PageRankWithKryoSimpleWritable.MessageValue, PageRankWithKryoSimpleWritable.VertexValue
public abstract class KryoSimpleWritable
extends Object
implements KryoIgnoreWritable
Class which you can extend to get all serialization/deserialization
done automagically.
Usage of this class is similar to KryoWritable but
unlike KryoWritable, this class does not
support recursive/nested objects to provide better
performance.
If the underlying stream is a kryo output stream than the read/write
happens with a kryo object that doesn't track references, providing
significantly better performance.