public static class PigWritableComparators.PigBigDecimalRawBytesComparator extends PigBigDecimalRawComparator
Constructor and Description |
---|
PigBigDecimalRawBytesComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
Compare two NullableBigDecimalWritables as raw bytes.
|
compare, getConf, setConf
compare, compareBytes, define, get, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong
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(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
PigBigDecimalRawComparator
compare
in interface org.apache.hadoop.io.RawComparator
compare
in class PigBigDecimalRawComparator
Copyright © 2007-2017 The Apache Software Foundation