public abstract class ObjectWritableComparator extends Object implements org.apache.hadoop.io.RawComparator<ObjectWritable>, org.apache.hadoop.conf.Configurable
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectWritableComparator.ObjectWritableMapComparator |
static class |
ObjectWritableComparator.ObjectWritableReduceComparator |
| Modifier and Type | Field and Description |
|---|---|
protected Comparator |
comparator |
protected org.apache.hadoop.conf.Configuration |
configuration |
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) |
org.apache.hadoop.conf.Configuration |
getConf() |
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, thenComparingLongpublic static final Logger LOGGER
protected org.apache.hadoop.conf.Configuration configuration
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>public org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurableCopyright © 2013–2015 Apache Software Foundation. All rights reserved.