public static class JoinUtils.AvroPairGroupingComparator<T>
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.io.RawComparator<org.apache.avro.mapred.AvroWrapper<T>>
Constructor and Description |
---|
JoinUtils.AvroPairGroupingComparator() |
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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public JoinUtils.AvroPairGroupingComparator()
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.AvroWrapper<T> x, org.apache.avro.mapred.AvroWrapper<T> y)
compare
in interface Comparator<org.apache.avro.mapred.AvroWrapper<T>>
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface org.apache.hadoop.io.RawComparator<org.apache.avro.mapred.AvroWrapper<T>>
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.