org.apache.hadoop.io.serializer
Class JavaSerializationComparator<T extends Serializable & Comparable<T>>

java.lang.Object
  extended by org.apache.hadoop.io.serializer.DeserializerComparator<T>
      extended by 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

Constructor Summary
JavaSerializationComparator()
           
 
Method Summary
 
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
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

JavaSerializationComparator

@InterfaceAudience.Private
public JavaSerializationComparator()
                            throws IOException
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.