public final class PhysicalPlanGenerator extends Object implements Function<DAG<IRVertex,IREdge>,DAG<PhysicalStage,PhysicalStageEdge>>
Modifier and Type | Method and Description |
---|---|
DAG<PhysicalStage,PhysicalStageEdge> |
apply(DAG<IRVertex,IREdge> irDAG)
Generates the
PhysicalPlan to be executed. |
Map<Task,IRVertex> |
getTaskIRVertexMap()
Getter for taskIRVertexMap.
|
DAG<Stage,StageEdge> |
stagePartitionIrDAG(DAG<IRVertex,IREdge> irDAG)
We take the stage-partitioned DAG and create actual stage and stage edge objects to create a DAG of stages.
|
public DAG<PhysicalStage,PhysicalStageEdge> apply(DAG<IRVertex,IREdge> irDAG)
PhysicalPlan
to be executed.apply
in interface Function<DAG<IRVertex,IREdge>,DAG<PhysicalStage,PhysicalStageEdge>>
irDAG
- that should be converted to a physical execution planPhysicalPlan
to execute.public DAG<Stage,StageEdge> stagePartitionIrDAG(DAG<IRVertex,IREdge> irDAG)
irDAG
- stage-partitioned IR DAG.Copyright © 2018. All rights reserved.