public final class PhysicalPlan extends Object implements Serializable
Constructor and Description |
---|
PhysicalPlan(String id,
DAG<PhysicalStage,PhysicalStageEdge> stageDAG,
Map<Task,IRVertex> taskIRVertexMap)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getId() |
IRVertex |
getIRVertexOf(Task task)
Get an IR vertex of the given task.
|
DAG<PhysicalStage,PhysicalStageEdge> |
getStageDAG() |
Map<Task,IRVertex> |
getTaskIRVertexMap() |
String |
toString() |
public PhysicalPlan(String id, DAG<PhysicalStage,PhysicalStageEdge> stageDAG, Map<Task,IRVertex> taskIRVertexMap)
id
- ID of the plan.stageDAG
- the DAG of stages.taskIRVertexMap
- map from task to IR vertex.public String getId()
public DAG<PhysicalStage,PhysicalStageEdge> getStageDAG()
public IRVertex getIRVertexOf(Task task)
task
- task to find the IR vertex of.public Map<Task,IRVertex> getTaskIRVertexMap()
Copyright © 2018. All rights reserved.