public static class PigWritableComparators.PigTextRawBytesPartitionComparator extends PigTextRawComparator
| Constructor and Description |
|---|
PigTextRawBytesPartitionComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
Compare two NullableTextWritables as raw bytes.
|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
getConf, setConfcompare, compareBytes, define, get, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLongpublic int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
PigTextRawComparatorcompare in interface org.apache.hadoop.io.RawComparatorcompare in class PigTextRawComparatorpublic int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatorcompare in class PigTextRawComparatorCopyright © 2007-2025 The Apache Software Foundation