Package org.apache.wayang.spark.compiler
Class PredicateAdapter<InputType>
- java.lang.Object
-
- org.apache.wayang.spark.compiler.PredicateAdapter<InputType>
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.spark.api.java.function.Function<InputType,java.lang.Boolean>
public class PredicateAdapter<InputType> extends java.lang.Object implements org.apache.spark.api.java.function.Function<InputType,java.lang.Boolean>
Wraps aPredicate
as aFunction
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PredicateAdapter(java.util.function.Predicate<InputType> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
call(InputType dataQuantum)
-
-
-
Constructor Detail
-
PredicateAdapter
public PredicateAdapter(java.util.function.Predicate<InputType> predicate)
-
-