@InterfaceAudience.Public @InterfaceStability.Stable @Deprecated public abstract class ComparisonFunc extends org.apache.hadoop.io.WritableComparator
| Modifier and Type | Field and Description |
|---|---|
protected PigProgressable |
reporter
Deprecated.
|
| Constructor and Description |
|---|
ComparisonFunc()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
compare(Tuple t1,
Tuple t2)
Deprecated.
This callback method must be implemented by all subclasses.
|
int |
compare(org.apache.hadoop.io.WritableComparable a,
org.apache.hadoop.io.WritableComparable b)
Deprecated.
Compare two tuples.
|
void |
setReporter(PigProgressable reporter)
Deprecated.
Set the reporter.
|
compare, compare, compareBytes, define, get, get, getConf, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprotected PigProgressable reporter
public int compare(org.apache.hadoop.io.WritableComparable a,
org.apache.hadoop.io.WritableComparable b)
compare in class org.apache.hadoop.io.WritableComparatora - first tupleb - tuple to compare a topublic abstract int compare(Tuple t1, Tuple t2)
Comparator.t1 - the first Tuple to be compared.t2 - the second Tuple to be compared.IOExceptionComparatorpublic void setReporter(PigProgressable reporter)
reporter - Progress reporterCopyright © 2007-2017 The Apache Software Foundation