请参阅: 说明
接口 | 说明 |
---|---|
Deserializer<T> |
Provides a facility for deserializing objects of type
InputStream . |
Serialization<T> |
Encapsulates a
Serializer /Deserializer pair. |
Serializer<T> |
Provides a facility for serializing objects of type
OutputStream . |
类 | 说明 |
---|---|
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) . |
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.
Copyright © 2009 The Apache Software Foundation