This project has retired. For details please refer to its
Attic page.
PairMapFunction (Apache Crunch 0.11.0 API)
org.apache.crunch.impl.spark.fn
Class PairMapFunction<K,V,S>
java.lang.Object
org.apache.crunch.impl.spark.fn.PairMapFunction<K,V,S>
- All Implemented Interfaces:
- Serializable, org.apache.spark.api.java.function.Function<scala.Tuple2<K,V>,S>
public class PairMapFunction<K,V,S>
- extends Object
- implements org.apache.spark.api.java.function.Function<scala.Tuple2<K,V>,S>
- See Also:
- Serialized Form
Method Summary |
S |
call(scala.Tuple2<K,V> kv)
|
PairMapFunction
public PairMapFunction(MapFn<Pair<K,V>,S> fn,
SparkRuntimeContext ctxt)
call
public S call(scala.Tuple2<K,V> kv)
throws Exception
- Specified by:
call
in interface org.apache.spark.api.java.function.Function<scala.Tuple2<K,V>,S>
- Throws:
Exception
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.