public abstract class ObjectWritableComparator extends Object implements org.apache.hadoop.io.RawComparator<ObjectWritable>, HadoopPoolsConfigurable
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectWritableComparator.ObjectWritableMapComparator |
static class |
ObjectWritableComparator.ObjectWritableReduceComparator |
| Modifier and Type | Field and Description |
|---|---|
protected Comparator |
comparator |
static Logger |
LOGGER |
| Constructor and Description |
|---|
ObjectWritableComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] bytes,
int i,
int i1,
byte[] bytes1,
int i2,
int i3) |
int |
compare(ObjectWritable objectWritable1,
ObjectWritable objectWritable2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLonggetConf, setConfpublic static final Logger LOGGER
protected Comparator comparator
public int compare(ObjectWritable objectWritable1, ObjectWritable objectWritable2)
compare in interface Comparator<ObjectWritable>public int compare(byte[] bytes,
int i,
int i1,
byte[] bytes1,
int i2,
int i3)
compare in interface org.apache.hadoop.io.RawComparator<ObjectWritable>Copyright © 2013–2015 Apache Software Foundation. All rights reserved.