This project has retired. For details please refer to its
Attic page.
JoinUtils.AvroIndexedRecordPartitioner (Apache Crunch 0.8.0 API)
org.apache.crunch.lib.join
Class JoinUtils.AvroIndexedRecordPartitioner<K,V>
java.lang.Object
org.apache.hadoop.mapreduce.Partitioner<org.apache.avro.mapred.AvroKey<K>,org.apache.avro.mapred.AvroValue<V>>
org.apache.crunch.lib.join.JoinUtils.AvroIndexedRecordPartitioner<K,V>
- Enclosing class:
- JoinUtils
public static class JoinUtils.AvroIndexedRecordPartitioner<K,V>
- extends org.apache.hadoop.mapreduce.Partitioner<org.apache.avro.mapred.AvroKey<K>,org.apache.avro.mapred.AvroValue<V>>
Method Summary |
int |
getPartition(org.apache.avro.mapred.AvroKey<K> key,
org.apache.avro.mapred.AvroValue<V> value,
int numPartitions)
|
JoinUtils.AvroIndexedRecordPartitioner
public JoinUtils.AvroIndexedRecordPartitioner()
getPartition
public int getPartition(org.apache.avro.mapred.AvroKey<K> key,
org.apache.avro.mapred.AvroValue<V> value,
int numPartitions)
- Specified by:
getPartition
in class org.apache.hadoop.mapreduce.Partitioner<org.apache.avro.mapred.AvroKey<K>,org.apache.avro.mapred.AvroValue<V>>
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.