Package org.apache.wayang.spark.compiler
Class ExtendedFunction<InputType,OutputType>
java.lang.Object
org.apache.wayang.spark.compiler.ExtendedFunction<InputType,OutputType>
- All Implemented Interfaces:
Serializable,org.apache.spark.api.java.function.Function<InputType,OutputType>
public class ExtendedFunction<InputType,OutputType>
extends Object
implements org.apache.spark.api.java.function.Function<InputType,OutputType>
Implements a
Function that calls ExtendedFunction.open(ExecutionContext)
of its implementation before delegating the very first Function.call(Object).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExtendedFunction(T extendedFunction, SparkExecutionContext sparkExecutionContext) -
Method Summary
-
Constructor Details
-
ExtendedFunction
-
-
Method Details
-
call
- Specified by:
callin interfaceorg.apache.spark.api.java.function.Function<InputType,OutputType> - Throws:
Exception
-