T - The type of the elements that result from this node.@Internal public interface ExecNode<T> extends ExecNodeTranslator<T>
FlinkPhysicalRel.| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_NAME_CONFIGURATION |
static String |
FIELD_NAME_DESCRIPTION |
static String |
FIELD_NAME_ID |
static String |
FIELD_NAME_INPUT_PROPERTIES |
static String |
FIELD_NAME_OUTPUT_TYPE |
static String |
FIELD_NAME_TYPE |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ExecNodeVisitor visitor)
Accepts a visit from a
ExecNodeVisitor. |
String |
getDescription()
Returns a string which describes this node.
|
int |
getId()
The unique ID of the node.
|
List<ExecEdge> |
getInputEdges()
Returns a list of this node's input
ExecEdges. |
List<InputProperty> |
getInputProperties()
Returns a list of this node's input properties.
|
org.apache.flink.table.types.logical.LogicalType |
getOutputType()
Returns the output
LogicalType of this node, this type should be consistent with the
type parameter T. |
void |
replaceInputEdge(int index,
ExecEdge newInputEdge)
Replaces the
ordinalInParentth input edge. |
void |
setCompiled(boolean isCompiled)
Declares whether the node has been created as part of a plan compilation.
|
void |
setInputEdges(List<ExecEdge> inputEdges)
Sets the input
ExecEdges which connect this nodes and its input nodes. |
translateToPlanstatic final String FIELD_NAME_ID
static final String FIELD_NAME_TYPE
static final String FIELD_NAME_CONFIGURATION
static final String FIELD_NAME_DESCRIPTION
static final String FIELD_NAME_INPUT_PROPERTIES
static final String FIELD_NAME_OUTPUT_TYPE
int getId()
String getDescription()
org.apache.flink.table.types.logical.LogicalType getOutputType()
LogicalType of this node, this type should be consistent with the
type parameter T.
Such as, if T is RowData, the output type should be RowType. please refer
to the JavaDoc of RowData for more info about mapping of logical types to internal
data structures.
List<InputProperty> getInputProperties()
NOTE: If there are no inputs, returns an empty list, not null.
List<ExecEdge> getInputEdges()
ExecEdges.
NOTE: If there are no inputs, returns an empty list, not null.
void setInputEdges(List<ExecEdge> inputEdges)
ExecEdges which connect this nodes and its input nodes.
NOTE: If there are no inputs, the given inputEdges should be empty, not null.
inputEdges - the input ExecEdges.void replaceInputEdge(int index,
ExecEdge newInputEdge)
ordinalInParentth input edge.index - Position of the child input edge, 0 is the first.newInputEdge - New edge that should be put at position `index`.void accept(ExecNodeVisitor visitor)
ExecNodeVisitor.visitor - ExecNodeVisitor.void setCompiled(boolean isCompiled)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.