Package org.apache.nemo.common.pass
Class Pass
- java.lang.Object
-
- org.apache.nemo.common.pass.Pass
-
- Direct Known Subclasses:
CompileTimePass
,RunTimePass
public abstract class Pass extends java.lang.Object
Abstract class for optimization passes. All passes basically extends this class.
-
-
Constructor Summary
Constructors Constructor Description Pass()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pass
addCondition(java.util.function.Predicate<IRDAG> newCondition)
Add the condition to the existing condition to run the pass.java.util.function.Predicate<IRDAG>
getCondition()
Getter for the condition under which to apply the pass.
-
-
-
Method Detail
-
getCondition
public final java.util.function.Predicate<IRDAG> getCondition()
Getter for the condition under which to apply the pass.- Returns:
- the condition under which to apply the pass.
-
-