cascading.tuple.hadoop.util
Class ReverseTupleComparator
java.lang.Object
org.apache.hadoop.conf.Configured
cascading.tuple.hadoop.util.DeserializerComparator<Tuple>
cascading.tuple.hadoop.util.TupleComparator
cascading.tuple.hadoop.util.ReverseTupleComparator
- All Implemented Interfaces:
- Comparator<Tuple>, org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.RawComparator<Tuple>
public class ReverseTupleComparator
- extends TupleComparator
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
ReverseTupleComparator
public ReverseTupleComparator()
compare
public int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
- Specified by:
compare
in interface org.apache.hadoop.io.RawComparator<Tuple>
- Overrides:
compare
in class TupleComparator
compare
public int compare(Tuple lhs,
Tuple rhs)
- Specified by:
compare
in interface Comparator<Tuple>
- Overrides:
compare
in class TupleComparator
Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.