Class BulkIterationNode

    • Constructor Detail

      • BulkIterationNode

        public BulkIterationNode​(org.apache.flink.api.common.operators.base.BulkIterationBase<?> iteration)
        Creates a new node for the bulk iteration.
        Parameters:
        iteration - The bulk iteration the node represents.
    • Method Detail

      • getIterationContract

        public org.apache.flink.api.common.operators.base.BulkIterationBase<?> getIterationContract()
      • getPartialSolution

        public BulkPartialSolutionNode getPartialSolution()
        Gets the partialSolution from this BulkIterationNode.
        Returns:
        The partialSolution.
      • setPartialSolution

        public void setPartialSolution​(BulkPartialSolutionNode partialSolution)
        Sets the partialSolution for this BulkIterationNode.
        Parameters:
        partialSolution - The partialSolution to set.
      • getNextPartialSolution

        public OptimizerNode getNextPartialSolution()
        Gets the nextPartialSolution from this BulkIterationNode.
        Returns:
        The nextPartialSolution.
      • setNextPartialSolution

        public void setNextPartialSolution​(OptimizerNode nextPartialSolution,
                                           OptimizerNode terminationCriterion)
        Sets the nextPartialSolution for this BulkIterationNode.
        Parameters:
        nextPartialSolution - The nextPartialSolution to set.
      • getSingleRootOfStepFunction

        public OptimizerNode getSingleRootOfStepFunction()
      • getOperatorName

        public String getOperatorName()
        Description copied from class: OptimizerNode
        Gets the name of this node, which is the name of the function/operator, or data source / data sink.
        Specified by:
        getOperatorName in class OptimizerNode
        Returns:
        The node name.
      • readStubAnnotations

        protected void readStubAnnotations()
        Description copied from class: OptimizerNode
        Reads all stub annotations, i.e. which fields remain constant, what cardinality bounds the functions have, which fields remain unique.
        Overrides:
        readStubAnnotations in class OptimizerNode
      • computeInterestingPropertiesForInputs

        public void computeInterestingPropertiesForInputs​(CostEstimator estimator)
        Description copied from class: OptimizerNode
        Tells the node to compute the interesting properties for its inputs. The interesting properties for the node itself must have been computed before. The node must then see how many of interesting properties it preserves and add its own.
        Overrides:
        computeInterestingPropertiesForInputs in class SingleInputNode
        Parameters:
        estimator - The CostEstimator instance to use for plan cost estimation.
      • computeUnclosedBranchStack

        public void computeUnclosedBranchStack()
        Description copied from class: OptimizerNode
        This method causes the node to compute the description of open branches in its sub-plan. An open branch describes, that a (transitive) child node had multiple outputs, which have not all been re-joined in the sub-plan. This method needs to set the openBranches field to a stack of unclosed branches, the latest one top. A branch is considered closed, if some later node sees all of the branching node's outputs, no matter if there have been more branches to different paths in the meantime.
        Overrides:
        computeUnclosedBranchStack in class SingleInputNode