cascading.tuple.hadoop.util
Class GroupingComparator
java.lang.Object
org.apache.hadoop.conf.Configured
cascading.tuple.hadoop.util.DeserializerComparator<TuplePair>
cascading.tuple.hadoop.util.GroupingComparator
- All Implemented Interfaces:
- Comparator<TuplePair>, org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.RawComparator<TuplePair>
public class GroupingComparator
- extends DeserializerComparator<TuplePair>
Class GroupingComparator is an implementation of RawComparator
.
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 |
GroupingComparator
public GroupingComparator()
compare
public int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
compare
public int compare(TuplePair lhs,
TuplePair rhs)
Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.