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

All Superinterfaces:
java.io.Serializable

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

A function that returns key-value pairs (Tuple2<K, V>), and can be used to construct PairRDDs.


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

Method Detail

call

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