public abstract class BaseTupleComparator extends DeserializerComparator<cascading.tuple.Tuple> implements Configurable
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
BaseTupleComparator.RawComparison |
groupComparators, keyTypes, lhsBuffer, lhsStream, rhsBuffer, rhsStream, tupleSerialization| Constructor and Description |
|---|
BaseTupleComparator() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canPerformRawComparisons() |
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(cascading.tuple.Tuple lhs,
cascading.tuple.Tuple rhs) |
protected abstract BaseTupleComparator.RawComparison |
getByteComparison() |
protected BaseTupleComparator.RawComparison |
getStreamComparison() |
void |
setConf(Configuration conf) |
compareTuples, compareTuples, getFieldComparatorsFrom, getHadoopTupleInputStream, performRawComparisongetConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfpublic BaseTupleComparator()
protected boolean canPerformRawComparisons()
canPerformRawComparisons in class DeserializerComparator<cascading.tuple.Tuple>public void setConf(Configuration conf)
setConf in interface ConfigurablesetConf in class DeserializerComparator<cascading.tuple.Tuple>protected BaseTupleComparator.RawComparison getStreamComparison()
protected abstract BaseTupleComparator.RawComparison getByteComparison()
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare in interface RawComparator<cascading.tuple.Tuple>public int compare(cascading.tuple.Tuple lhs, cascading.tuple.Tuple rhs)
compare in interface java.util.Comparator<cascading.tuple.Tuple>Copyright © 2007-2021 Cascading Maintainers. All Rights Reserved.