cascading.tuple.hadoop.util
Class ReverseTupleComparator

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by cascading.tuple.hadoop.util.DeserializerComparator<cascading.tuple.Tuple>
          extended by cascading.tuple.hadoop.util.TupleComparator
              extended by cascading.tuple.hadoop.util.ReverseTupleComparator
All Implemented Interfaces:
Comparator<cascading.tuple.Tuple>, Configurable, RawComparator<cascading.tuple.Tuple>

public class ReverseTupleComparator
extends TupleComparator


Constructor Summary
ReverseTupleComparator()
           
 
Method Summary
 int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
           
 int compare(cascading.tuple.Tuple lhs, cascading.tuple.Tuple rhs)
           
 
Methods inherited from class cascading.tuple.hadoop.util.DeserializerComparator
getFieldComparatorsFrom, setConf
 
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
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ReverseTupleComparator

public ReverseTupleComparator()
Method Detail

compare

public int compare(byte[] b1,
                   int s1,
                   int l1,
                   byte[] b2,
                   int s2,
                   int l2)
Specified by:
compare in interface RawComparator<cascading.tuple.Tuple>
Overrides:
compare in class TupleComparator

compare

public int compare(cascading.tuple.Tuple lhs,
                   cascading.tuple.Tuple rhs)
Specified by:
compare in interface Comparator<cascading.tuple.Tuple>
Overrides:
compare in class TupleComparator


Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.