Package io.trino.sql.planner.plan
Class SetOperationNode
java.lang.Object
io.trino.sql.planner.plan.PlanNode
io.trino.sql.planner.plan.SetOperationNode
- Direct Known Subclasses:
ExceptNode,IntersectNode,UnionNode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSetOperationNode(PlanNodeId id, List<PlanNode> sources, com.google.common.collect.ListMultimap<Symbol, Symbol> outputToInputs, List<Symbol> outputs) -
Method Summary
Modifier and TypeMethodDescriptionoutputSymbolMap(int sourceIndex) Returns the input to output symbol mapping for the given source channel.sourceOutputLayout(int sourceIndex) sourceSymbolMap(int sourceIndex) Returns the output to input symbol mapping for the given source channelMethods inherited from class io.trino.sql.planner.plan.PlanNode
accept, getId, replaceChildren
-
Constructor Details
-
SetOperationNode
-
-
Method Details
-
getSources
- Specified by:
getSourcesin classPlanNode
-
getOutputSymbols
- Specified by:
getOutputSymbolsin classPlanNode
-
getSymbolMapping
-
sourceOutputLayout
-
sourceSymbolMap
Returns the output to input symbol mapping for the given source channel -
outputSymbolMap
Returns the input to output symbol mapping for the given source channel. A single input symbol can map to multiple output symbols, thus requiring a Multimap.
-