Package org.apache.wayang.spark.compiler
Class ExtendedBinaryOperatorAdapter<Type>
java.lang.Object
org.apache.wayang.spark.compiler.ExtendedBinaryOperatorAdapter<Type>
- All Implemented Interfaces:
Serializable
,org.apache.spark.api.java.function.Function2<Type,
Type, Type>
public class ExtendedBinaryOperatorAdapter<Type>
extends Object
implements org.apache.spark.api.java.function.Function2<Type,Type,Type>
Implements a
Function2
that calls ExtendedFunction.open(ExecutionContext)
of its implementation before delegating the very first Function2.call(Object, Object)
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExtendedBinaryOperatorAdapter
(FunctionDescriptor.ExtendedSerializableBinaryOperator<Type> extendedFunction, SparkExecutionContext sparkExecutionContext) -
Method Summary
-
Constructor Details
-
ExtendedBinaryOperatorAdapter
public ExtendedBinaryOperatorAdapter(FunctionDescriptor.ExtendedSerializableBinaryOperator<Type> extendedFunction, SparkExecutionContext sparkExecutionContext)
-
-
Method Details