Interface ExecNode<T>

    • Method Detail

      • getId

        int getId()
        The unique ID of the node.
      • getDescription

        String getDescription()
        Returns a string which describes this node.
      • getOutputType

        LogicalType getOutputType()
        Returns the output LogicalType of this node, this type should be consistent with the type parameter ExecNode.

        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.

      • getInputProperties

        List<InputProperty> getInputProperties()
        Returns a list of this node's input properties.

        NOTE: If there are no inputs, returns an empty list, not null.

        Returns:
        List of this node's input properties.
      • getInputEdges

        List<ExecEdge> getInputEdges()
        Returns a list of this node's input ExecEdges.

        NOTE: If there are no inputs, returns an empty list, not null.

      • setInputEdges

        void setInputEdges​(List<ExecEdge> inputEdges)
        Sets the input ExecEdges which connect this nodes and its input nodes.

        NOTE: If there are no inputs, the given inputEdges should be empty, not null.

        Parameters:
        inputEdges - the input ExecEdges.
      • replaceInputEdge

        void replaceInputEdge​(int index,
                              ExecEdge newInputEdge)
        Replaces the ordinalInParentth input edge.
        Parameters:
        index - Position of the child input edge, 0 is the first.
        newInputEdge - New edge that should be put at position `index`.
      • setCompiled

        void setCompiled​(boolean isCompiled)
        Declares whether the node has been created as part of a plan compilation. Some translation properties might be impacted by this (e.g. UID generation for transformations).