public static class InvertedIndex.InvertedIndexKey.GroupingComparator extends java.lang.Object implements org.apache.hadoop.io.RawComparator<InvertedIndex.InvertedIndexKey>
Constructor and Description |
---|
InvertedIndex.InvertedIndexKey.GroupingComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2) |
int |
compare(InvertedIndex.InvertedIndexKey a, InvertedIndex.InvertedIndexKey b) |
public InvertedIndex.InvertedIndexKey.GroupingComparator()
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface org.apache.hadoop.io.RawComparator<InvertedIndex.InvertedIndexKey>
public int compare(InvertedIndex.InvertedIndexKey a, InvertedIndex.InvertedIndexKey b)
compare
in interface java.util.Comparator<InvertedIndex.InvertedIndexKey>