public static class TupleWritable.Comparator
extends org.apache.hadoop.io.WritableComparator
implements org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
Comparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(org.apache.hadoop.io.WritableComparable a,
org.apache.hadoop.io.WritableComparable b) |
org.apache.hadoop.conf.Configuration |
getConf() |
static TupleWritable.Comparator |
getInstance() |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
compare, compareBytes, define, get, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong
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 static TupleWritable.Comparator getInstance()
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
setConf
in class org.apache.hadoop.io.WritableComparator
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
getConf
in class org.apache.hadoop.io.WritableComparator
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface org.apache.hadoop.io.RawComparator
compare
in class org.apache.hadoop.io.WritableComparator
public int compare(org.apache.hadoop.io.WritableComparable a, org.apache.hadoop.io.WritableComparable b)
compare
in class org.apache.hadoop.io.WritableComparator
Copyright © 2016 The Apache Software Foundation. All rights reserved.