public static class SecondarySort.FirstGroupingComparator extends 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic 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 Comparator<SecondarySort.IntPair>Copyright © 2014 Apache Software Foundation. All Rights Reserved.