This project has retired. For details please refer to its
Attic page.
PartitionedMapOutputFunction (Apache Crunch 0.11.0 API)
org.apache.crunch.impl.spark.fn
Class PartitionedMapOutputFunction<K,V>
java.lang.Object
org.apache.crunch.impl.spark.fn.PartitionedMapOutputFunction<K,V>
- All Implemented Interfaces:
- Serializable, org.apache.spark.api.java.function.PairFunction<Pair<K,V>,IntByteArray,byte[]>
public class PartitionedMapOutputFunction<K,V>
- extends Object
- implements org.apache.spark.api.java.function.PairFunction<Pair<K,V>,IntByteArray,byte[]>
- See Also:
- Serialized Form
PartitionedMapOutputFunction
public PartitionedMapOutputFunction(SerDe<K> keySerde,
SerDe<V> valueSerde,
PGroupedTableType<K,V> ptype,
Class<? extends org.apache.hadoop.mapreduce.Partitioner> partitionerClass,
int numPartitions,
SparkRuntimeContext runtimeContext)
call
public scala.Tuple2<IntByteArray,byte[]> call(Pair<K,V> p)
throws Exception
- Specified by:
call
in interface org.apache.spark.api.java.function.PairFunction<Pair<K,V>,IntByteArray,byte[]>
- Throws:
Exception
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.