public class ReverseGroupingSortingComparator extends GroupingSortingComparator
RawComparator
.groupComparators, keyTypes, lhsBuffer, lhsStream, rhsBuffer, rhsStream, tupleSerialization
Constructor and Description |
---|
ReverseGroupingSortingComparator() |
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) |
setConf
canPerformRawComparisons, compareTuples, compareTuples, getFieldComparatorsFrom, getHadoopTupleInputStream, performRawComparison
getConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public ReverseGroupingSortingComparator()
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface RawComparator<TuplePair>
compare
in class GroupingSortingComparator
public int compare(TuplePair lhs, TuplePair rhs)
compare
in interface Comparator<TuplePair>
compare
in class GroupingSortingComparator
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.