org.apache.spark.api.java.function
Interface PairFlatMapFunction<T,K,V>

All Superinterfaces:
java.io.Serializable

public interface PairFlatMapFunction<T,K,V>
extends java.io.Serializable

A function that returns zero or more key-value pair records from each input record. The key-value pairs are represented as scala.Tuple2 objects.


Method Summary
 Iterable<scala.Tuple2<K,V>> call(T t)
           
 

Method Detail

call

Iterable<scala.Tuple2<K,V>> call(T t)
                                 throws Exception
Throws:
Exception