public static class SecondarySort.FirstGroupingComparator extends Object implements org.apache.hadoop.io.RawComparator<SecondarySort.IntPair>
| Constructor and Description |
|---|
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, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic 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 © 2008–2020 Apache Software Foundation. All rights reserved.