Package org.apache.flink.optimizer.plan
Class NAryUnionPlanNode
- java.lang.Object
-
- org.apache.flink.optimizer.plan.PlanNode
-
- org.apache.flink.optimizer.plan.NAryUnionPlanNode
-
- All Implemented Interfaces:
DumpableNode<PlanNode>,org.apache.flink.util.Visitable<PlanNode>
public class NAryUnionPlanNode extends PlanNode
A union operation over multiple inputs (2 or more).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.optimizer.plan.PlanNode
PlanNode.FeedbackPropertiesMeetRequirementsReport, PlanNode.SourceAndDamReport
-
-
Field Summary
-
Fields inherited from class org.apache.flink.optimizer.plan.PlanNode
branchPlan, cumulativeCosts, globalProps, localProps, nodeCosts, outChannels, template
-
-
Constructor Summary
Constructors Constructor Description NAryUnionPlanNode(BinaryUnionNode template, List<Channel> inputs, GlobalProperties gProps, Costs cumulativeCosts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(org.apache.flink.util.Visitor<PlanNode> visitor)Iterable<Channel>getInputs()List<Channel>getListOfInputs()Iterable<PlanNode>getPredecessors()Gets an iterator over the predecessors.PlanNode.SourceAndDamReporthasDamOnPathDownTo(PlanNode source)Checks whether this node has a dam on the way down to the given source node.-
Methods inherited from class org.apache.flink.optimizer.plan.PlanNode
addOutgoingChannel, checkPartialSolutionPropertiesMet, getBranchPlan, getBroadcastInputs, getCandidateAtBranchPoint, getCostWeight, getCumulativeCosts, getCumulativeCostsShare, getDriverStrategy, getDumpableInputs, getGlobalProperties, getGuaranteedAvailableMemory, getLocalProperties, getMemoryConsumerWeight, getMinResources, getNodeCosts, getNodeName, getOptimizerNode, getOriginalOptimizerNode, getOutgoingChannels, getParallelism, getPlanNode, getPreferredResources, getProgramOperator, getRelativeMemoryPerSubTask, initProperties, isOnDynamicPath, isPruneMarkerSet, mergeBranchPlanMaps, mergeBranchPlanMaps, setBroadcastInputs, setCosts, setDriverStrategy, setParallelism, setPruningMarker, setRelativeMemoryPerSubtask, toString, updatePropertiesWithUniqueSets
-
-
-
-
Constructor Detail
-
NAryUnionPlanNode
public NAryUnionPlanNode(BinaryUnionNode template, List<Channel> inputs, GlobalProperties gProps, Costs cumulativeCosts)
- Parameters:
template-
-
-
Method Detail
-
accept
public void accept(org.apache.flink.util.Visitor<PlanNode> visitor)
-
getPredecessors
public Iterable<PlanNode> getPredecessors()
Description copied from interface:DumpableNodeGets an iterator over the predecessors.- Specified by:
getPredecessorsin interfaceDumpableNode<PlanNode>- Specified by:
getPredecessorsin classPlanNode- Returns:
- An iterator over the predecessors.
-
hasDamOnPathDownTo
public PlanNode.SourceAndDamReport hasDamOnPathDownTo(PlanNode source)
Description copied from class:PlanNodeChecks whether this node has a dam on the way down to the given source node. This method returns either that (a) the source node is not found as a (transitive) child of this node, (b) the node is found, but no dam is on the path, or (c) the node is found and a dam is on the path.- Specified by:
hasDamOnPathDownToin classPlanNode- Parameters:
source- The node on the path to which the dam is sought.- Returns:
- The result whether the node is found and whether a dam is on the path.
-
-