org.apache.spark.api.java.function
Interface Function<T1,R>

All Superinterfaces:
java.io.Serializable

public interface Function<T1,R>
extends java.io.Serializable

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
 R call(T1 v1)
           
 

Method Detail

call

R call(T1 v1)
       throws Exception
Throws:
Exception