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
  extended by 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

Constructor Summary
PairFlatMapDoFn(DoFn<T,Pair<K,V>> fn, SparkRuntimeContext ctxt)
           
 
Method Summary
 Iterable<scala.Tuple2<K,V>> call(Iterator<T> input)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PairFlatMapDoFn

public PairFlatMapDoFn(DoFn<T,Pair<K,V>> fn,
                       SparkRuntimeContext ctxt)
Method Detail

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.