List of usage examples for org.apache.hadoop.mapreduce Partitioner interface-usage
From source file crunch.MaxTemperature.java
public class StationPartitioner implements Partitioner<LongWritable, Text> { private NcdcRecordParser parser = new NcdcRecordParser(); @Override public int getPartition(LongWritable key, Text value, int numPartitions) {