public static class TaskData.ExecutionPlan.Node extends Object implements Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
class |
TaskData.ExecutionPlan.Node.Port
IO port of a node.
|
Modifier and Type | Field and Description |
---|---|
private Serializable |
execData
The data for this execution.
|
private boolean |
executed
Marker recording whether the stream in this execution plan
has been executed.
|
private int |
id
|
private List<TaskData.ExecutionPlan.Node.Port>
|
outputPorts
Each node has its own successor nodes, each organized in a list.
|
(package private) DataType |
outputType
|
private static long |
serialVersionUID
|
Modifier | Constructor and Description |
---|---|
private |
Node(int id,
DataType outputType,
Serializable execData)
|
Modifier and Type | Method and Description |
---|---|
TaskData.ExecutionPlan.Node.Port
|
createInputPort(Stream.Port prototype)
|
Serializable |
getExecData()
|
List<TaskData.ExecutionPlan.Node.Port> |
getOutputPorts()
|
boolean |
isExecuted()
|
private void |
makeEmpty()
Empty the data in the node for saving memory.
|
void |
markExecuted()
Mark the stream as executed in the execution plan and
clear its data.
|
void |
outputTo(TaskData.ExecutionPlan.Node.Port port)
|
private static final long serialVersionUID
private List<TaskData.ExecutionPlan.Node.Port> outputPorts
private final int id
final DataType outputType
private boolean executed
private Serializable execData
private Node(int id, @Nonnull DataType outputType, @Nullable Serializable execData)
execData
- The data for execution, which is a serializablepublic void outputTo(@Nonnull TaskData.ExecutionPlan.Node.Port port)
public List<TaskData.ExecutionPlan.Node.Port> getOutputPorts()
public Serializable getExecData()
public boolean isExecuted()
private void makeEmpty()
public void markExecuted()
public TaskData.ExecutionPlan.Node.Port createInputPort(Stream.Port prototype)