public static class PigWritableComparators.PigTextRawBytesPartitionComparator extends PigTextRawComparator
Constructor and Description |
---|
PigWritableComparators.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(Object o1,
Object o2) |
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
equals
public PigWritableComparators.PigTextRawBytesPartitionComparator()
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
PigTextRawComparator
compare
in interface org.apache.hadoop.io.RawComparator
compare
in class PigTextRawComparator
public int compare(Object o1, Object o2)
compare
in interface Comparator
compare
in class PigTextRawComparator
Copyright © 2007-2012 The Apache Software Foundation