Class AnnotatingPass
- java.lang.Object
-
- org.apache.nemo.common.pass.Pass
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.CompileTimePass
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.annotating.AnnotatingPass
-
- Direct Known Subclasses:
AggressiveSpeculativeCloningPass
,CompressionPass
,DefaultDataPersistencePass
,DefaultDataStorePass
,DefaultEdgeDecoderPass
,DefaultEdgeEncoderPass
,DefaultParallelismPass
,DefaultScheduleGroupPass
,DisaggregationEdgeDataStorePass
,DuplicateEdgeGroupSizePass
,LambdaPass
,LargeShuffleAnnotatingPass
,PipeTransferForAllEdgesPass
,ResourceLocalityPass
,ResourceSitePass
,ResourceSlotPass
,ShuffleEdgePushPass
,SkewAnnotatingPass
,TransientResourceDataTransferPass
,TransientResourcePriorityPass
,UpfrontCloningPass
,XGBoostPass
public abstract class AnnotatingPass extends CompileTimePass
A compile-time pass that annotates the IR DAG with execution properties. It is ensured by the compiler that the shape of the IR DAG itself is not modified by an AnnotatingPass.
-
-
Constructor Summary
Constructors Constructor Description AnnotatingPass(java.lang.Class<? extends AnnotatingPass> cls)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.Class<? extends ExecutionProperty>>
getExecutionPropertiesToAnnotate()
Getter for the execution properties to annotate through the pass.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
-
AnnotatingPass
public AnnotatingPass(java.lang.Class<? extends AnnotatingPass> cls)
Constructor.- Parameters:
cls
- the annotating pass class.
-
-
Method Detail
-
getExecutionPropertiesToAnnotate
public final java.util.Set<java.lang.Class<? extends ExecutionProperty>> getExecutionPropertiesToAnnotate()
Getter for the execution properties to annotate through the pass.- Returns:
- key of execution properties to annotate through the pass.
-
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:
- set of prerequisite execution properties.
-
-