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