public class AvroKeyComparator<T> extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.io.RawComparator<AvroKey<T>>
RawComparator
used by jobs configured with
AvroJob
.
Compares AvroKeys output from the map phase for sorting.
Constructor and Description |
---|
AvroKeyComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(AvroKey<T> x,
AvroKey<T> y) |
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.