- All Superinterfaces:
- java.io.Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
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.