This project has retired. For details please refer to its
Attic page .
JoinUtils.AvroPairGroupingComparator (Apache Crunch 0.14.0 API)
JavaScript is disabled on your browser.
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.crunch.lib.join.JoinUtils.AvroPairGroupingComparator<T>
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
int
compare (org.apache.avro.mapred.AvroWrapper<T > x,
org.apache.avro.mapred.AvroWrapper<T > y)
int
compare (byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
void
setConf (org.apache.hadoop.conf.Configuration conf)
Methods inherited from class org.apache.hadoop.conf.Configured
getConf
Methods inherited from interface java.util.Comparator
comparing , comparing , comparingDouble , comparingInt , comparingLong , equals , naturalOrder , nullsFirst , nullsLast , reversed , reverseOrder , thenComparing , thenComparing , thenComparing , thenComparingDouble , thenComparingInt , thenComparingLong
Method Detail
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<org.apache.avro.mapred.AvroWrapper<T >>
Copyright © 2016 The Apache Software Foundation . All rights reserved.