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