This project has retired. For details please refer to its
Attic page.
SparkPartitioner (Apache Crunch 0.10.0 API)
org.apache.crunch.impl.spark
Class SparkPartitioner
java.lang.Object
org.apache.spark.Partitioner
org.apache.crunch.impl.spark.SparkPartitioner
- All Implemented Interfaces:
- Serializable
public class SparkPartitioner
- extends org.apache.spark.Partitioner
- See Also:
- Serialized Form
Methods inherited from class org.apache.spark.Partitioner |
defaultPartitioner |
SparkPartitioner
public SparkPartitioner(int numPartitions)
numPartitions
public int numPartitions()
- Specified by:
numPartitions
in class org.apache.spark.Partitioner
getPartition
public int getPartition(Object key)
- Specified by:
getPartition
in class org.apache.spark.Partitioner
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.