Package io.trino.sql.planner.plan
Class CorrelatedJoinNode
java.lang.Object
io.trino.sql.planner.plan.PlanNode
io.trino.sql.planner.plan.CorrelatedJoinNode
For every row from
input a subquery relation is calculated.
Then input row is cross joined with subquery relation and returned as a result.
INNER - does not return any row for input row when subquery relation is empty LEFT - does return input completed with NULL values when subquery relation is empty
-
Constructor Summary
ConstructorsConstructorDescriptionCorrelatedJoinNode(PlanNodeId id, PlanNode input, PlanNode subquery, List<Symbol> correlation, JoinType type, Expression filter, Node originSubquery) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(PlanVisitor<R, C> visitor, C context) getInput()getType()replaceChildren(List<PlanNode> newChildren)
-
Constructor Details
-
CorrelatedJoinNode
public CorrelatedJoinNode(PlanNodeId id, PlanNode input, PlanNode subquery, List<Symbol> correlation, JoinType type, Expression filter, Node originSubquery)
-
-
Method Details
-
getInput
-
getSubquery
-
getCorrelation
-
getType
-
getFilter
-
getOriginSubquery
-
getSources
- Specified by:
getSourcesin classPlanNode
-
getOutputSymbols
- Specified by:
getOutputSymbolsin classPlanNode
-
replaceChildren
- Specified by:
replaceChildrenin classPlanNode
-
accept
-