This project has retired. For details please refer to its Attic page.
PairFlatMapPairDoFn (Apache Crunch 0.9.0 API)

org.apache.crunch.impl.spark.fn
Class PairFlatMapPairDoFn<K,V,K2,V2>

java.lang.Object
  extended by scala.runtime.AbstractFunction1<T,R>
      extended by org.apache.spark.api.java.function.WrappedFunction1<T,Iterable<scala.Tuple2<K,V>>>
          extended by org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<K,V>>,K2,V2>
              extended by org.apache.crunch.impl.spark.fn.PairFlatMapPairDoFn<K,V,K2,V2>
All Implemented Interfaces:
Serializable, scala.Function1<Iterator<scala.Tuple2<K,V>>,Iterable<scala.Tuple2<K2,V2>>>, scala.ScalaObject

public class PairFlatMapPairDoFn<K,V,K2,V2>
extends org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<K,V>>,K2,V2>

See Also:
Serialized Form

Constructor Summary
PairFlatMapPairDoFn(DoFn<Pair<K,V>,Pair<K2,V2>> fn, SparkRuntimeContext ctxt)
           
 
Method Summary
 Iterable<scala.Tuple2<K2,V2>> call(Iterator<scala.Tuple2<K,V>> input)
           
 
Methods inherited from class org.apache.spark.api.java.function.PairFlatMapFunction
keyType, valueType
 
Methods inherited from class org.apache.spark.api.java.function.WrappedFunction1
apply
 
Methods inherited from class scala.runtime.AbstractFunction1
andThen, andThen$mcDD$sp, andThen$mcDF$sp, andThen$mcDI$sp, andThen$mcDJ$sp, andThen$mcFD$sp, andThen$mcFF$sp, andThen$mcFI$sp, andThen$mcFJ$sp, andThen$mcID$sp, andThen$mcIF$sp, andThen$mcII$sp, andThen$mcIJ$sp, andThen$mcJD$sp, andThen$mcJF$sp, andThen$mcJI$sp, andThen$mcJJ$sp, andThen$mcVD$sp, andThen$mcVF$sp, andThen$mcVI$sp, andThen$mcVJ$sp, andThen$mcZD$sp, andThen$mcZF$sp, andThen$mcZI$sp, andThen$mcZJ$sp, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, compose$mcDD$sp, compose$mcDF$sp, compose$mcDI$sp, compose$mcDJ$sp, compose$mcFD$sp, compose$mcFF$sp, compose$mcFI$sp, compose$mcFJ$sp, compose$mcID$sp, compose$mcIF$sp, compose$mcII$sp, compose$mcIJ$sp, compose$mcJD$sp, compose$mcJF$sp, compose$mcJI$sp, compose$mcJJ$sp, compose$mcVD$sp, compose$mcVF$sp, compose$mcVI$sp, compose$mcVJ$sp, compose$mcZD$sp, compose$mcZF$sp, compose$mcZI$sp, compose$mcZJ$sp, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PairFlatMapPairDoFn

public PairFlatMapPairDoFn(DoFn<Pair<K,V>,Pair<K2,V2>> fn,
                           SparkRuntimeContext ctxt)
Method Detail

call

public Iterable<scala.Tuple2<K2,V2>> call(Iterator<scala.Tuple2<K,V>> input)
                                   throws Exception
Specified by:
call in class org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<K,V>>,K2,V2>
Throws:
Exception


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.