This project has retired. For details please refer to its Attic page.
JoinUtils.TupleWritablePartitioner (Apache Crunch 0.7.0 API)

org.apache.crunch.lib.join
Class JoinUtils.TupleWritablePartitioner

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Partitioner<TupleWritable,org.apache.hadoop.io.Writable>
      extended by 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>


Constructor Summary
JoinUtils.TupleWritablePartitioner()
           
 
Method Summary
 int getPartition(TupleWritable key, org.apache.hadoop.io.Writable value, int numPartitions)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinUtils.TupleWritablePartitioner

public JoinUtils.TupleWritablePartitioner()
Method Detail

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 © 2013 The Apache Software Foundation. All Rights Reserved.