| Package | Description |
|---|---|
| io.prestosql.sql.planner.iterative.rule | |
| io.prestosql.sql.planner.optimizations.joins |
| Modifier and Type | Method and Description |
|---|---|
static PlanNode |
EliminateCrossJoins.buildJoinTree(List<Symbol> expectedOutputSymbols,
JoinGraph graph,
List<Integer> joinOrder,
PlanNodeIdAllocator idAllocator) |
static List<Integer> |
EliminateCrossJoins.getJoinOrder(JoinGraph graph)
Given JoinGraph determine the order of joins between graph nodes
by traversing JoinGraph.
|
| Modifier and Type | Method and Description |
|---|---|
static JoinGraph |
JoinGraph.buildShallowFrom(PlanNode plan,
Lookup lookup)
Builds
JoinGraph containing plan node. |
JoinGraph |
JoinGraph.withAssignments(Map<Symbol,Expression> assignments) |
JoinGraph |
JoinGraph.withFilter(Expression expression) |
JoinGraph |
JoinGraph.withRootId(PlanNodeId rootId) |
| Modifier and Type | Method and Description |
|---|---|
static List<JoinGraph> |
JoinGraph.buildFrom(PlanNode plan)
Builds all (distinct)
JoinGraph-es whole plan tree. |
Copyright © 2012–2019. All rights reserved.