de.hpi.fgis.voidgen.hadoop.closure
Class Step2GroupingComparator

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

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

The grouping comparator for the second step provides grouping by the real key of keys which consist of a pair of real key and value.

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

Constructor Summary
protected Step2GroupingComparator()
           
 
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

Step2GroupingComparator

protected Step2GroupingComparator()
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