Rule.Context, Rule.Result| Constructor and Description |
|---|
EliminateCrossJoins() |
| Modifier and Type | Method and Description |
|---|---|
Rule.Result |
apply(JoinNode node,
Captures captures,
Rule.Context context) |
static PlanNode |
buildJoinTree(List<Symbol> expectedOutputSymbols,
JoinGraph graph,
List<Integer> joinOrder,
PlanNodeIdAllocator idAllocator) |
static List<Integer> |
getJoinOrder(JoinGraph graph)
Given JoinGraph determine the order of joins between graph nodes
by traversing JoinGraph.
|
Pattern<JoinNode> |
getPattern()
Returns a pattern to which plan nodes this rule applies.
|
boolean |
isEnabled(Session session) |
static boolean |
isOriginalOrder(List<Integer> joinOrder) |
public Pattern<JoinNode> getPattern()
RulegetPattern in interface Rule<JoinNode>public boolean isEnabled(Session session)
public Rule.Result apply(JoinNode node, Captures captures, Rule.Context context)
public static List<Integer> getJoinOrder(JoinGraph graph)
Copyright © 2012–2019. All rights reserved.