cascading.tuple.hadoop.util
Class IndexTupleCoGroupingComparator
java.lang.Object
org.apache.hadoop.conf.Configured
cascading.tuple.hadoop.util.DeserializerComparator<IndexTuple>
cascading.tuple.hadoop.util.IndexTupleCoGroupingComparator
- All Implemented Interfaces:
- Comparator<IndexTuple>, org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.RawComparator<IndexTuple>
public class IndexTupleCoGroupingComparator
- extends DeserializerComparator<IndexTuple>
- implements org.apache.hadoop.conf.Configurable
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 |
IndexTupleCoGroupingComparator
public IndexTupleCoGroupingComparator()
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<IndexTuple>
compare
public int compare(IndexTuple lhs,
IndexTuple rhs)
- Specified by:
compare
in interface Comparator<IndexTuple>
Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.