public static class PigWritableComparators.PigBooleanRawBytesPartitionComparator extends PigBooleanRawComparator
Constructor and Description |
---|
PigBooleanRawBytesPartitionComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
Compare two NullableIntWritables as raw bytes.
|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
getConf, setConf
compare, compareBytes, define, get, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong
public PigBooleanRawBytesPartitionComparator()
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
PigBooleanRawComparator
compare
in interface org.apache.hadoop.io.RawComparator
compare
in class PigBooleanRawComparator
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
compare
in class PigBooleanRawComparator
Copyright © 2007-2025 The Apache Software Foundation