public class GroupingSortingComparator extends DeserializerComparator<TuplePair>
RawComparator
.Constructor and Description |
---|
GroupingSortingComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(TuplePair lhs,
TuplePair rhs) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
getFieldComparatorsFrom
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
setConf
in class DeserializerComparator<TuplePair>
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)