@Immutable public class LateralJoinNode extends PlanNode
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
| Modifier and Type | Class and Description |
|---|---|
static class |
LateralJoinNode.Type |
| Constructor and Description |
|---|
LateralJoinNode(PlanNodeId id,
PlanNode input,
PlanNode subquery,
List<Symbol> correlation,
LateralJoinNode.Type type,
Expression filter,
Node originSubquery) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(PlanVisitor<R,C> visitor,
C context) |
List<Symbol> |
getCorrelation() |
Expression |
getFilter() |
PlanNode |
getInput() |
Node |
getOriginSubquery() |
List<Symbol> |
getOutputSymbols() |
List<PlanNode> |
getSources() |
PlanNode |
getSubquery() |
LateralJoinNode.Type |
getType() |
PlanNode |
replaceChildren(List<PlanNode> newChildren) |
public LateralJoinNode(PlanNodeId id, PlanNode input, PlanNode subquery, List<Symbol> correlation, LateralJoinNode.Type type, Expression filter, Node originSubquery)
public PlanNode getInput()
public PlanNode getSubquery()
public LateralJoinNode.Type getType()
public Expression getFilter()
public Node getOriginSubquery()
public List<PlanNode> getSources()
getSources in class PlanNodepublic List<Symbol> getOutputSymbols()
getOutputSymbols in class PlanNodepublic PlanNode replaceChildren(List<PlanNode> newChildren)
replaceChildren in class PlanNodepublic <R,C> R accept(PlanVisitor<R,C> visitor, C context)
Copyright © 2012–2019. All rights reserved.