Class CompositePass
- java.lang.Object
-
- org.apache.nemo.common.pass.Pass
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.CompileTimePass
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.composite.CompositePass
-
- Direct Known Subclasses:
DefaultCompositePass
,DefaultPolicyWithSeparatePass.RefactoredPass
,LargeShuffleCompositePass
,LoopOptimizationCompositePass
,SkewCompositePass
,TransientResourceCompositePass
public abstract class CompositePass extends CompileTimePass
A compile-time pass composed of multiple compile-time passes, which each modifies an IR DAG.
-
-
Constructor Summary
Constructors Constructor Description CompositePass(java.util.List<CompileTimePass> passList)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRDAG
apply(IRDAG irVertexIREdgeDAG)
java.util.List<CompileTimePass>
getPassList()
Getter for list of compile time passes.java.util.Set<java.lang.Class<? extends ExecutionProperty>>
getPrerequisiteExecutionProperties()
Getter for prerequisite execution properties.-
Methods inherited from class org.apache.nemo.common.pass.Pass
addCondition, getCondition
-
-
-
-
Constructor Detail
-
CompositePass
public CompositePass(java.util.List<CompileTimePass> passList)
Constructor.- Parameters:
passList
- list of compile time passes.
-
-
Method Detail
-
getPassList
public final java.util.List<CompileTimePass> getPassList()
Getter for list of compile time passes.- Returns:
- the list of CompileTimePass.
-
getPrerequisiteExecutionProperties
public final java.util.Set<java.lang.Class<? extends ExecutionProperty>> getPrerequisiteExecutionProperties()
Description copied from class:CompileTimePass
Getter for prerequisite execution properties.- Specified by:
getPrerequisiteExecutionProperties
in classCompileTimePass
- Returns:
- the prerequisite execution properties.
-
-