This project has retired. For details please refer to its
Attic page .
ReverseAvroComparator (Apache Crunch 0.14.0 API)
JavaScript is disabled on your browser.
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.crunch.lib.sort.ReverseAvroComparator<T>
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
int
compare (org.apache.avro.mapred.AvroKey<T > o1,
org.apache.avro.mapred.AvroKey<T > o2)
int
compare (byte[] arg0,
int arg1,
int arg2,
byte[] arg3,
int arg4,
int arg5)
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[] arg0,
int arg1,
int arg2,
byte[] arg3,
int arg4,
int arg5)
Specified by:
compare
in interface org.apache.hadoop.io.RawComparator<org.apache.avro.mapred.AvroKey<T >>
Copyright © 2016 The Apache Software Foundation . All rights reserved.