public class ReverseTupleComparator extends TupleComparator
Constructor and Description |
---|
ReverseTupleComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(Tuple lhs,
Tuple rhs) |
getFieldComparatorsFrom, setConf
getConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
equals
public ReverseTupleComparator()
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface RawComparator<Tuple>
compare
in class TupleComparator
public int compare(Tuple lhs, Tuple rhs)
compare
in interface Comparator<Tuple>
compare
in class TupleComparator
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.