public static class BinInterSedes.BinInterSedesTupleRawComparator extends org.apache.hadoop.io.WritableComparator implements TupleRawComparator
| Constructor and Description |
|---|
BinInterSedesTupleRawComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
Compare two BinSedesTuples as raw bytes.
|
int |
compare(org.apache.hadoop.io.WritableComparable o1,
org.apache.hadoop.io.WritableComparable o2) |
org.apache.hadoop.conf.Configuration |
getConf() |
boolean |
hasComparedTupleNull()
Checks if one of the compared tuples had a null field.
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
compare, compareBytes, define, get, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLongclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurablegetConf in class org.apache.hadoop.io.WritableComparatorpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurablesetConf in class org.apache.hadoop.io.WritableComparatorpublic boolean hasComparedTupleNull()
TupleRawComparatorRawComparator.compare(byte[],int,int,byte[],int,int) has returned a zero value (i.e. tuples are determined to be
equal).hasComparedTupleNull in interface TupleRawComparatorpublic int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
compare in interface org.apache.hadoop.io.RawComparatorcompare in class org.apache.hadoop.io.WritableComparatorpublic int compare(org.apache.hadoop.io.WritableComparable o1,
org.apache.hadoop.io.WritableComparable o2)
compare in class org.apache.hadoop.io.WritableComparatorCopyright © 2007-2017 The Apache Software Foundation