This project has retired. For details please refer to its
Attic page.
JoinUtils.TupleWritablePartitioner (Apache Crunch 0.9.0 API)
org.apache.crunch.lib.join
Class JoinUtils.TupleWritablePartitioner
java.lang.Object
org.apache.hadoop.mapreduce.Partitioner<TupleWritable,org.apache.hadoop.io.Writable>
org.apache.crunch.lib.join.JoinUtils.TupleWritablePartitioner
- Enclosing class:
- JoinUtils
public static class JoinUtils.TupleWritablePartitioner
- extends org.apache.hadoop.mapreduce.Partitioner<TupleWritable,org.apache.hadoop.io.Writable>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoinUtils.TupleWritablePartitioner
public JoinUtils.TupleWritablePartitioner()
getPartition
public int getPartition(TupleWritable key,
org.apache.hadoop.io.Writable value,
int numPartitions)
- Specified by:
getPartition
in class org.apache.hadoop.mapreduce.Partitioner<TupleWritable,org.apache.hadoop.io.Writable>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.