de.hpi.fgis.voidgen.hadoop.tasks.distinctclustering
Class LeftPartComparator

java.lang.Object
  extended by org.apache.hadoop.io.WritableComparator
      extended by de.hpi.fgis.voidgen.hadoop.tasks.distinctclustering.LeftPartComparator
All Implemented Interfaces:
java.util.Comparator, org.apache.hadoop.io.RawComparator

public class LeftPartComparator
extends org.apache.hadoop.io.WritableComparator

The comparator only comparing the left parts of pairs.

Author:
Martin Linkhorst, Hasso Plattner Institute at University of Potsdam, Germany, Johannes Gosda, Hasso Plattner Institute at University of Potsdam, Germany

Constructor Summary
protected LeftPartComparator()
           
 
Method Summary
 int compare(org.apache.hadoop.io.WritableComparable a, org.apache.hadoop.io.WritableComparable b)
           
 
Methods inherited from class org.apache.hadoop.io.WritableComparator
compare, compare, compareBytes, define, get, getKeyClass, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong
 
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

LeftPartComparator

protected LeftPartComparator()
Method Detail

compare

public int compare(org.apache.hadoop.io.WritableComparable a,
                   org.apache.hadoop.io.WritableComparable b)
Overrides:
compare in class org.apache.hadoop.io.WritableComparator