Interface PairFunction<T,K,V>

All Superinterfaces:
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 Serializable
A function that returns key-value pairs (Tuple2<K, V>), and can be used to construct PairRDDs.
  • Method Summary

    Modifier and Type
    Method
    Description
    scala.Tuple2<K,V>
    call(T t)