Package org.apache.wayang.spark.compiler
Class ExtendedFunction<InputType,OutputType>
- java.lang.Object
-
- org.apache.wayang.spark.compiler.ExtendedFunction<InputType,OutputType>
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.spark.api.java.function.Function<InputType,OutputType>
public class ExtendedFunction<InputType,OutputType> extends java.lang.Object implements org.apache.spark.api.java.function.Function<InputType,OutputType>
Implements aFunction
that callsExtendedFunction.open(ExecutionContext)
of its implementation before delegating the very firstFunction.call(Object)
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExtendedFunction(T extendedFunction, SparkExecutionContext sparkExecutionContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputType
call(InputType v1)
-
-
-
Constructor Detail
-
ExtendedFunction
public ExtendedFunction(T extendedFunction, SparkExecutionContext sparkExecutionContext)
-
-
Method Detail
-
call
public OutputType call(InputType v1) throws java.lang.Exception
- Specified by:
call
in interfaceorg.apache.spark.api.java.function.Function<InputType,OutputType>
- Throws:
java.lang.Exception
-
-