Package org.apache.hadoop.io.serializer

This package provides a mechanism for using different serialization frameworks in Hadoop.

See:
          Description

Interface Summary
Deserializer<T> Provides a facility for deserializing objects of type from an InputStream.
Serialization<T> Encapsulates a Serializer/Deserializer pair.
Serializer<T> Provides a facility for serializing objects of type to an OutputStream.
 

Class Summary
DeserializerComparator<T> A RawComparator that uses a Deserializer to deserialize the objects to be compared so that the standard Comparator can be used to compare them.
JavaSerialization An experimental Serialization for Java Serializable classes.
JavaSerializationComparator<T extends Serializable & Comparable<T>> A RawComparator that uses a JavaSerialization Deserializer to deserialize objects that are then compared via their Comparable interfaces.
SerializationFactory A factory for Serializations.
WritableSerialization A Serialization for Writables that delegates to Writable.write(java.io.DataOutput) and Writable.readFields(java.io.DataInput).
 

Package org.apache.hadoop.io.serializer Description

This package provides a mechanism for using different serialization frameworks in Hadoop. The property "io.serializations" defines a list of Serializations that know how to create Serializers and Deserializers.

To add a new serialization framework write an implementation of Serialization and add its name to the "io.serializations" property.



Copyright © 2009 The Apache Software Foundation