16 package uk.ac.cam.eng.extraction.hadoop.merge;
18 import org.apache.hadoop.mapreduce.Partitioner;
19 import org.apache.hadoop.mapreduce.lib.partition.HashPartitioner;
30 class MergePartitioner
extends 31 Partitioner<Rule, RuleData> {
33 private Partitioner<RuleString, RuleData> defaultPartitioner =
new HashPartitioner<>();
36 public int getPartition(Rule key, RuleData value,
38 return defaultPartitioner.getPartition(key.source(), value,