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