public class IndexTupleCoGroupingComparator extends DeserializerComparator<IndexTuple> implements org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
IndexTupleCoGroupingComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(IndexTuple lhs,
IndexTuple rhs) |
getFieldComparatorsFrom, setConf
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface org.apache.hadoop.io.RawComparator<IndexTuple>
public int compare(IndexTuple lhs, IndexTuple rhs)
compare
in interface java.util.Comparator<IndexTuple>