public static class SecondarySort.FirstGroupingComparator extends java.lang.Object implements org.apache.hadoop.io.RawComparator<SecondarySort.IntPair>
Constructor and Description |
---|
SecondarySort.FirstGroupingComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(SecondarySort.IntPair o1,
SecondarySort.IntPair o2) |
public SecondarySort.FirstGroupingComparator()
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface org.apache.hadoop.io.RawComparator<SecondarySort.IntPair>
public int compare(SecondarySort.IntPair o1, SecondarySort.IntPair o2)
compare
in interface java.util.Comparator<SecondarySort.IntPair>
Copyright © 2009 The Apache Software Foundation