public static class TaskData.ExecutionPlan extends Object implements Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TaskData.ExecutionPlan.Node
Each node represents a flow of DStreams in an application.
|
Modifier and Type | Field and Description |
---|---|
private int |
nodeIDCounter
|
private Map<Integer,TaskData.ExecutionPlan.Node> |
nodes
Map for finding nodes according to the class of its module.
|
private static long |
serialVersionUID
|
Constructor and Description |
---|
ExecutionPlan() |
Modifier and Type | Method and Description |
---|---|
TaskData.ExecutionPlan.Node |
addNode(DataType outputType)
Add a node to the execution plan.
|
(package private) TaskData.ExecutionPlan.Node |
addNode(DataType outputType,
Serializable execData)
Add a node to the execution plan.
|
void |
combine(TaskData.ExecutionPlan planToCombine)
Combine two execution plans.
|
protected void |
finalize()
|
String |
toString() |
private static final long serialVersionUID
private Map<Integer,TaskData.ExecutionPlan.Node> nodes
private int nodeIDCounter
public void combine(@Nonnull TaskData.ExecutionPlan planToCombine)
planToCombine
- Another plan to combine on this plan.public TaskData.ExecutionPlan.Node addNode(@Nonnull DataType outputType)
outputType
- Output data type of the node.TaskData.ExecutionPlan.Node addNode(@Nonnull DataType outputType, @Nullable Serializable execData)
outputType
- Output data type of the node.execData
- Data for execution of the node.