| Package | Description |
|---|---|
| org.apache.calcite.plan.volcano |
Optimizes relational expressions.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) RelSet |
RelSet.equivalentSet
Set to the superseding set when this is found to be equivalent to another
set.
|
(package private) RelSet |
RelSubset.set
The set this subset belongs to.
|
private RelSet |
VolcanoRuleMatch.targetSet |
| Modifier and Type | Field and Description |
|---|---|
(package private) List<RelSet> |
VolcanoPlanner.allSets
List of all sets.
|
| Modifier and Type | Method and Description |
|---|---|
private static RelSet |
VolcanoPlanner.equivRoot(RelSet s) |
private static RelSet |
VolcanoPlanner.forward1(RelSet s,
RelSet p)
Moves forward one link, checking for a cycle.
|
private static RelSet |
VolcanoPlanner.forward2(RelSet s,
RelSet p)
Moves forward two links, checking for a cycle at each.
|
(package private) RelSet |
RelSubset.getSet() |
RelSet |
VolcanoPlanner.getSet(RelNode rel)
Finds an expression's equivalence set.
|
private RelSet |
VolcanoPlanner.merge(RelSet set,
RelSet set2) |
| Modifier and Type | Method and Description |
|---|---|
private RelSubset |
VolcanoPlanner.addRelToSet(RelNode rel,
RelSet set) |
(package private) void |
VolcanoPlanner.checkForSatisfiedConverters(RelSet set,
RelNode rel) |
private static RelSet |
VolcanoPlanner.equivRoot(RelSet s) |
private static RelSet |
VolcanoPlanner.forward1(RelSet s,
RelSet p)
Moves forward one link, checking for a cycle.
|
private static RelSet |
VolcanoPlanner.forward2(RelSet s,
RelSet p)
Moves forward two links, checking for a cycle at each.
|
double |
RuleQueue.getImportance(RelSet set)
Computes the importance of a set (which is that of its most important
subset).
|
private RelSet |
VolcanoPlanner.merge(RelSet set,
RelSet set2) |
(package private) void |
RelSet.mergeWith(VolcanoPlanner planner,
RelSet otherSet)
Merges
otherSet into this RelSet. |
private RelSubset |
VolcanoPlanner.registerImpl(RelNode rel,
RelSet set)
Registers a new expression
exp and queues up rule matches. |
private RelSubset |
VolcanoPlanner.registerSubset(RelSet set,
RelSubset subset) |
(package private) void |
VolcanoPlanner.reregister(RelSet set,
RelNode rel)
|
| Constructor and Description |
|---|
RelSubset(RelOptCluster cluster,
RelSet set,
RelTraitSet traits) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.