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