org.apache.hadoop.io.serializer
Class JavaSerializationComparator<T extends Serializable & Comparable<T>>
java.lang.Object
org.apache.hadoop.io.serializer.DeserializerComparator<T>
org.apache.hadoop.io.serializer.JavaSerializationComparator<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- Comparator<T>, RawComparator<T>
@InterfaceAudience.Public
@InterfaceStability.Unstable
public class JavaSerializationComparator<T extends Serializable & Comparable<T>>
- extends org.apache.hadoop.io.serializer.DeserializerComparator<T>
A RawComparator
that uses a JavaSerialization
Deserializer
to deserialize objects that are then compared via
their Comparable
interfaces.
- See Also:
JavaSerialization
Methods inherited from class org.apache.hadoop.io.serializer.DeserializerComparator |
compare |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaSerializationComparator
@InterfaceAudience.Private
public JavaSerializationComparator()
throws IOException
- Throws:
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.