Package org.apache.calcite.plan.hep
Class HepInstruction
- java.lang.Object
-
- org.apache.calcite.plan.hep.HepInstruction
-
- Direct Known Subclasses:
HepInstruction.BeginGroup
,HepInstruction.CommonRelSubExprRules
,HepInstruction.ConverterRules
,HepInstruction.EndGroup
,HepInstruction.MatchLimit
,HepInstruction.MatchOrder
,HepInstruction.RuleClass
,HepInstruction.RuleCollection
,HepInstruction.RuleInstance
,HepInstruction.Subprogram
abstract class HepInstruction extends java.lang.Object
HepInstruction represents one instruction in a HepProgram. The actual instruction set is defined here via inner classes; if these grow too big, they should be moved out to top-level classes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
HepInstruction.BeginGroup
Instruction that begins a group.(package private) static class
HepInstruction.CommonRelSubExprRules
Instruction that finds common relational sub-expressions.(package private) static class
HepInstruction.ConverterRules
Instruction that executes converter rules.(package private) static class
HepInstruction.EndGroup
Instruction that ends a group.(package private) static class
HepInstruction.MatchLimit
Instruction that sets match limit.(package private) static class
HepInstruction.MatchOrder
Instruction that sets match order.(package private) static class
HepInstruction.RuleClass<R extends RelOptRule>
Instruction that executes all rules of a given class.(package private) static class
HepInstruction.RuleCollection
Instruction that executes all rules in a given collection.(package private) static class
HepInstruction.RuleInstance
Instruction that executes a given rule.(package private) static class
HepInstruction.Subprogram
Instruction that executes a sub-program.
-
Constructor Summary
Constructors Constructor Description HepInstruction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract void
execute(HepPlanner planner)
(package private) void
initialize(boolean clearCache)
-
-
-
Method Detail
-
initialize
void initialize(boolean clearCache)
-
execute
abstract void execute(HepPlanner planner)
-
-