Package org.apache.calcite.plan.volcano
Class VolcanoPlanner.DeferringRuleCall
- java.lang.Object
-
- org.apache.calcite.plan.RelOptRuleCall
-
- org.apache.calcite.plan.volcano.VolcanoRuleCall
-
- org.apache.calcite.plan.volcano.VolcanoPlanner.DeferringRuleCall
-
- Enclosing class:
- VolcanoPlanner
private static class VolcanoPlanner.DeferringRuleCall extends VolcanoRuleCall
A rule call which defers its actions. WhereasRelOptRuleCall
invokes the rule when it finds a match, aDeferringRuleCall
creates aVolcanoRuleMatch
which can be invoked later.
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.plan.volcano.VolcanoRuleCall
volcanoPlanner
-
Fields inherited from class org.apache.calcite.plan.RelOptRuleCall
id, LOGGER, nodeInputs, operand0, rels, rule
-
-
Constructor Summary
Constructors Constructor Description DeferringRuleCall(VolcanoPlanner planner, RelOptRuleOperand operand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onMatch()
Rather than invoking the rule (as the base method does), creates aVolcanoRuleMatch
which can be invoked later.-
Methods inherited from class org.apache.calcite.plan.volcano.VolcanoRuleCall
match, transformTo
-
Methods inherited from class org.apache.calcite.plan.RelOptRuleCall
builder, getChildRels, getMetadataQuery, getOperand0, getParents, getPlanner, getRelList, getRels, getRule, rel, setChildRels, transformTo
-
-
-
-
Constructor Detail
-
DeferringRuleCall
DeferringRuleCall(VolcanoPlanner planner, RelOptRuleOperand operand)
-
-
Method Detail
-
onMatch
protected void onMatch()
Rather than invoking the rule (as the base method does), creates aVolcanoRuleMatch
which can be invoked later.- Overrides:
onMatch
in classVolcanoRuleCall
-
-