public class ReverseAvroComparator<T>
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.io.RawComparator<org.apache.avro.mapred.AvroKey<T>>
Constructor and Description |
---|
ReverseAvroComparator() |
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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
setConf
in class org.apache.hadoop.conf.Configured
public int compare(org.apache.avro.mapred.AvroKey<T> o1, org.apache.avro.mapred.AvroKey<T> o2)
compare
in interface Comparator<org.apache.avro.mapred.AvroKey<T>>
public int compare(byte[] arg0, int arg1, int arg2, byte[] arg3, int arg4, int arg5)
compare
in interface org.apache.hadoop.io.RawComparator<org.apache.avro.mapred.AvroKey<T>>
Copyright © 2017 The Apache Software Foundation. All rights reserved.