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

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

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

The grouping comparator for the first 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 Step1GroupingComparator()
          Default Constructor.
 
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

Step1GroupingComparator

protected Step1GroupingComparator()
Default Constructor.

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