Package org.apache.wayang.spark.compiler
Class ExtendedBinaryOperatorAdapter<Type>
- java.lang.Object
-
- org.apache.wayang.spark.compiler.ExtendedBinaryOperatorAdapter<Type>
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.spark.api.java.function.Function2<Type,Type,Type>
public class ExtendedBinaryOperatorAdapter<Type> extends java.lang.Object implements org.apache.spark.api.java.function.Function2<Type,Type,Type>
Implements aFunction2
that callsExtendedFunction.open(ExecutionContext)
of its implementation before delegating the very firstFunction2.call(Object, Object)
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExtendedBinaryOperatorAdapter(FunctionDescriptor.ExtendedSerializableBinaryOperator<Type> extendedFunction, SparkExecutionContext sparkExecutionContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
call(Type dataQuantum0, Type dataQuantum1)
-
-
-
Constructor Detail
-
ExtendedBinaryOperatorAdapter
public ExtendedBinaryOperatorAdapter(FunctionDescriptor.ExtendedSerializableBinaryOperator<Type> extendedFunction, SparkExecutionContext sparkExecutionContext)
-
-