@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public abstract class RecordComparator extends org.apache.hadoop.io.WritableComparator
| Modifier | Constructor and Description |
|---|---|
protected |
RecordComparator(Class<? extends org.apache.hadoop.io.WritableComparable> recordClass)
Deprecated.
Construct a raw
Record comparison implementation. |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
Deprecated.
|
static void |
define(Class c,
RecordComparator comparator)
Deprecated.
Register an optimized comparator for a
Record implementation. |
compare, compare, compareBytes, define, get, get, getConf, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong, setConfclone, 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 abstract 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 static void define(Class c, RecordComparator comparator)
Record implementation.c - record classs for which a raw comparator is providedcomparator - Raw comparator instance for class cCopyright © 2008–2023 Apache Software Foundation. All rights reserved.