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, setConf
clone, equals, finalize, 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 int compare(WritableComparable a, WritableComparable b)
compare
in class WritableComparator
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface RawComparator
compare
in class WritableComparator
Copyright © 2021 The Apache Software Foundation