Package org.apache.calcite.plan.hep
Class HepInstruction.RuleClass<R extends RelOptRule>
- java.lang.Object
-
- org.apache.calcite.plan.hep.HepInstruction
-
- org.apache.calcite.plan.hep.HepInstruction.RuleClass<R>
-
- Type Parameters:
R
- rule type
- Enclosing class:
- HepInstruction
static class HepInstruction.RuleClass<R extends RelOptRule> extends HepInstruction
Instruction that executes all rules of a given class.
-
-
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) java.lang.Class<R>
ruleClass
(package private) java.util.Set<RelOptRule>
ruleSet
Actual rule set instantiated during planning by filtering all of the planner's rules through ruleClass.
-
Constructor Summary
Constructors Constructor Description RuleClass()
-
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
-
ruleClass
java.lang.Class<R extends RelOptRule> ruleClass
-
ruleSet
java.util.Set<RelOptRule> ruleSet
Actual rule set instantiated during planning by filtering all of the planner's rules through ruleClass.
-
-
Method Detail
-
initialize
void initialize(boolean clearCache)
- Overrides:
initialize
in classHepInstruction
-
execute
void execute(HepPlanner planner)
- Specified by:
execute
in classHepInstruction
-
-