Class IntegrationTestBulkLoad.CompositeKeyComparator
java.lang.Object
org.apache.hadoop.io.WritableComparator
org.apache.hadoop.hbase.mapreduce.IntegrationTestBulkLoad.CompositeKeyComparator
- All Implemented Interfaces:
Comparator
,org.apache.hadoop.conf.Configurable
,org.apache.hadoop.io.RawComparator
- Enclosing class:
- IntegrationTestBulkLoad
public static class IntegrationTestBulkLoad.CompositeKeyComparator
extends org.apache.hadoop.io.WritableComparator
Comparator used to order linkKeys so that they are passed to a reducer in order. This is based
upon linkKey ChainId and Order.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(org.apache.hadoop.io.WritableComparable w1, org.apache.hadoop.io.WritableComparable w2) Methods inherited from class org.apache.hadoop.io.WritableComparator
compare, compare, compareBytes, define, get, get, getConf, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong, setConf
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
CompositeKeyComparator
protected CompositeKeyComparator()
-
-
Method Details
-
compare
public int compare(org.apache.hadoop.io.WritableComparable w1, org.apache.hadoop.io.WritableComparable w2) - Overrides:
compare
in classorg.apache.hadoop.io.WritableComparator
-