Class IntegrationTestBulkLoad.NaturalKeyGroupingComparator

java.lang.Object
org.apache.hadoop.io.WritableComparator
org.apache.hadoop.hbase.mapreduce.IntegrationTestBulkLoad.NaturalKeyGroupingComparator
All Implemented Interfaces:
Comparator, org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.RawComparator
Enclosing class:
IntegrationTestBulkLoad

public static class IntegrationTestBulkLoad.NaturalKeyGroupingComparator extends org.apache.hadoop.io.WritableComparator
Comparator used to figure out if a linkKey should be grouped together. This is based upon the linkKey's ChainId.
  • Constructor Details

  • Method Details

    • compare

      public int compare(org.apache.hadoop.io.WritableComparable w1, org.apache.hadoop.io.WritableComparable w2)
      Overrides:
      compare in class org.apache.hadoop.io.WritableComparator