org.apache.hadoop.io.serializer (Hadoop 0.20.2-cdh3u5 API)
Date: 2012-10-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## 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 `Serialization`s.
WritableSerialization | A `Serialization` for `Writable`s 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 `Serialization`s that know how to create `Serializer`s and `Deserializer`s.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2009 The Apache Software Foundation