public class GroupingSortingComparator extends DeserializerComparator<TuplePair>
RawComparator
.groupComparators, keyTypes, lhsBuffer, lhsStream, rhsBuffer, rhsStream, tupleSerialization
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(Configuration conf) |
canPerformRawComparisons, compareTuples, compareTuples, getFieldComparatorsFrom, getHadoopTupleInputStream, performRawComparison
getConf
public GroupingSortingComparator()
public void setConf(Configuration conf)
setConf
in interface Configurable
setConf
in class DeserializerComparator<TuplePair>
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.