com.cloudera.crunch.lib
Class JoinUtils.AvroIndexedRecordPartitioner
java.lang.Object
org.apache.hadoop.mapreduce.Partitioner<org.apache.avro.mapred.AvroKey,org.apache.avro.mapred.AvroValue>
com.cloudera.crunch.lib.JoinUtils.AvroIndexedRecordPartitioner
- Enclosing class:
- JoinUtils
public static class JoinUtils.AvroIndexedRecordPartitioner
- extends org.apache.hadoop.mapreduce.Partitioner<org.apache.avro.mapred.AvroKey,org.apache.avro.mapred.AvroValue>
Method Summary |
int |
getPartition(org.apache.avro.mapred.AvroKey key,
org.apache.avro.mapred.AvroValue value,
int numPartitions)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoinUtils.AvroIndexedRecordPartitioner
public JoinUtils.AvroIndexedRecordPartitioner()
getPartition
public int getPartition(org.apache.avro.mapred.AvroKey key,
org.apache.avro.mapred.AvroValue value,
int numPartitions)
- Specified by:
getPartition
in class org.apache.hadoop.mapreduce.Partitioner<org.apache.avro.mapred.AvroKey,org.apache.avro.mapred.AvroValue>
Copyright © 2012. All Rights Reserved.