Package org.apache.calcite.plan.hep
Class HepInstruction.RuleInstance
- java.lang.Object
-
- org.apache.calcite.plan.hep.HepInstruction
-
- org.apache.calcite.plan.hep.HepInstruction.RuleInstance
-
- Enclosing class:
- HepInstruction
static class HepInstruction.RuleInstance extends HepInstruction
Instruction that executes a given rule.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.calcite.plan.hep.HepInstruction
HepInstruction.BeginGroup, HepInstruction.CommonRelSubExprRules, HepInstruction.ConverterRules, HepInstruction.EndGroup, HepInstruction.MatchLimit, HepInstruction.MatchOrder, HepInstruction.RuleClass<R extends RelOptRule>, HepInstruction.RuleCollection, HepInstruction.RuleInstance, HepInstruction.Subprogram
-
-
Field Summary
Fields Modifier and Type Field Description (package private) RelOptRule
rule
Explicitly specified rule, or rule looked up by planner from description.(package private) java.lang.String
ruleDescription
Description to look for, or null if rule specified explicitly.
-
Constructor Summary
Constructors Constructor Description RuleInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
execute(HepPlanner planner)
(package private) void
initialize(boolean clearCache)
-
-
-
Field Detail
-
ruleDescription
java.lang.String ruleDescription
Description to look for, or null if rule specified explicitly.
-
rule
RelOptRule rule
Explicitly specified rule, or rule looked up by planner from description.
-
-
Method Detail
-
initialize
void initialize(boolean clearCache)
- Overrides:
initialize
in classHepInstruction
-
execute
void execute(HepPlanner planner)
- Specified by:
execute
in classHepInstruction
-
-