Class DefaultParallelismPass
- 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
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.annotating.DefaultParallelismPass
-
public final class DefaultParallelismPass extends AnnotatingPass
Optimization pass for tagging parallelism execution property.
-
-
Constructor Summary
Constructors Constructor Description DefaultParallelismPass()
Default constructor with desired number of source parallelism 1, shuffle decreasing factor 2.DefaultParallelismPass(int desiredSourceParallelism, int shuffleDecreaseFactor)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRDAG
apply(IRDAG dag)
boolean
equals(java.lang.Object o)
int
hashCode()
-
Methods inherited from class org.apache.nemo.compiler.optimizer.pass.compiletime.annotating.AnnotatingPass
getExecutionPropertiesToAnnotate, getPrerequisiteExecutionProperties
-
Methods inherited from class org.apache.nemo.common.pass.Pass
addCondition, getCondition
-
-
-
-
Constructor Detail
-
DefaultParallelismPass
public DefaultParallelismPass()
Default constructor with desired number of source parallelism 1, shuffle decreasing factor 2.
-
DefaultParallelismPass
public DefaultParallelismPass(int desiredSourceParallelism, int shuffleDecreaseFactor)
Default constructor.- Parameters:
desiredSourceParallelism
- the desired number of source parallelism.shuffleDecreaseFactor
- the parallelism decrease factor for shuffle edge.
-
-