public static class JoinUtils.TupleWritablePartitioner extends org.apache.hadoop.mapreduce.Partitioner<TupleWritable,org.apache.hadoop.io.Writable>
Constructor and Description |
---|
TupleWritablePartitioner() |
Modifier and Type | Method and Description |
---|---|
int |
getPartition(TupleWritable key,
org.apache.hadoop.io.Writable value,
int numPartitions) |
public int getPartition(TupleWritable key, org.apache.hadoop.io.Writable value, int numPartitions)
getPartition
in class org.apache.hadoop.mapreduce.Partitioner<TupleWritable,org.apache.hadoop.io.Writable>
Copyright © 2016 The Apache Software Foundation. All rights reserved.