Package | Description |
---|---|
org.apache.calcite.plan.volcano |
Optimizes relational expressions.
|
Modifier and Type | Field and Description |
---|---|
(package private) VolcanoPlanner |
RelSubset.CheapestPlanReplacer.planner |
private VolcanoPlanner |
RuleQueue.planner |
protected VolcanoPlanner |
VolcanoRuleCall.volcanoPlanner |
Modifier and Type | Method and Description |
---|---|
private void |
RelSet.addAbstractConverters(VolcanoPlanner planner,
RelOptCluster cluster,
RelSubset subset,
boolean subsetToOthers) |
(package private) RelNode |
RelSubset.buildCheapestPlan(VolcanoPlanner planner)
Recursively builds a tree consisting of the cheapest plan at each node.
|
(package private) java.util.Set<RelSubset> |
RelSubset.getParentSubsets(VolcanoPlanner planner)
Returns the collection of distinct subsets that contain a RelNode one
of whose inputs is in this subset.
|
(package private) void |
RelSet.mergeWith(VolcanoPlanner planner,
RelSet otherSet)
Merges
otherSet into this RelSet. |
private void |
RelSet.postEquivalenceEvent(VolcanoPlanner planner,
RelNode rel) |
void |
RelSubset.propagateBoostRemoval(VolcanoPlanner planner) |
(package private) void |
RelSubset.propagateCostImprovements(VolcanoPlanner planner,
RelMetadataQuery mq,
RelNode rel,
java.util.Set<RelSubset> activeSet)
Checks whether a relexp has made its subset cheaper, and if it so,
recursively checks whether that subset's parents have gotten cheaper.
|
(package private) void |
RelSubset.propagateCostImprovements0(VolcanoPlanner planner,
RelMetadataQuery mq,
RelNode rel,
java.util.Set<RelSubset> activeSet) |
Constructor and Description |
---|
CheapestPlanReplacer(VolcanoPlanner planner) |
DeferringRuleCall(VolcanoPlanner planner,
RelOptRuleOperand operand) |
RuleQueue(VolcanoPlanner planner) |
VolcanoRuleCall(VolcanoPlanner planner,
RelOptRuleOperand operand)
Creates a rule call.
|
VolcanoRuleCall(VolcanoPlanner planner,
RelOptRuleOperand operand,
RelNode[] rels,
java.util.Map<RelNode,java.util.List<RelNode>> nodeInputs)
Creates a rule call, internal, with array to hold bindings.
|
VolcanoRuleMatch(VolcanoPlanner volcanoPlanner,
RelOptRuleOperand operand0,
RelNode[] rels,
java.util.Map<RelNode,java.util.List<RelNode>> nodeInputs)
Creates a
VolcanoRuleMatch . |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.