Function (Spark 4.2.0 JavaDoc)
Interface Function<T1,R>
- 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.
Base interface for functions whose return types do not create special RDDs. PairFunction and DoubleFunction are handled separately, to allow PairRDDs and DoubleRDDs to be constructed when mapping RDDs of other types.
-
Method Summary
Modifier and Type
Method
Description
-
Method Details
-
call
- Throws:
Exception
-