public static class Generator.HashComparator extends WritableComparator
| Constructor and Description |
|---|
HashComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(WritableComparable a,
WritableComparable b) |
compare, compareBytes, define, get, get, getConf, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong, setConfpublic int compare(WritableComparable a, WritableComparable b)
compare in class WritableComparatorpublic int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
compare in interface RawComparatorcompare in class WritableComparatorCopyright © 2019 The Apache Software Foundation