Uses of Class
org.apache.calcite.plan.hep.HepProgram
-
Packages that use HepProgram Package Description org.apache.calcite.materialize Management of materialized query results.org.apache.calcite.plan.hep Provides a heuristic planner implementation for the interfaces inorg.apache.calcite.plan
.org.apache.calcite.rel.rules Provides a core set of planner rules.org.apache.calcite.sql2rel Translates a SQL parse tree to relational expression.org.apache.calcite.tools Provides utility classes. -
-
Uses of HepProgram in org.apache.calcite.materialize
Fields in org.apache.calcite.materialize declared as HepProgram Modifier and Type Field Description private static HepProgram
LatticeSuggester. PROGRAM
-
Uses of HepProgram in org.apache.calcite.plan.hep
Fields in org.apache.calcite.plan.hep declared as HepProgram Modifier and Type Field Description private HepProgram
HepPlanner. currentProgram
private HepProgram
HepPlanner. mainProgram
(package private) HepProgram
HepInstruction.Subprogram. subprogram
Methods in org.apache.calcite.plan.hep that return HepProgram Modifier and Type Method Description HepProgram
HepProgramBuilder. build()
Returns the constructed program, clearing the state of this program builder as a side-effect.Methods in org.apache.calcite.plan.hep with parameters of type HepProgram Modifier and Type Method Description HepProgramBuilder
HepProgramBuilder. addSubprogram(HepProgram program)
Adds an instruction to execute a subprogram.private void
HepPlanner. executeProgram(HepProgram program)
Constructors in org.apache.calcite.plan.hep with parameters of type HepProgram Constructor Description HepPlanner(HepProgram program)
Creates a new HepPlanner that allows DAG.HepPlanner(HepProgram program, Context context)
Creates a new HepPlanner that allows DAG.HepPlanner(HepProgram program, Context context, boolean noDag, Function2<RelNode,RelNode,java.lang.Void> onCopyHook, RelOptCostFactory costFactory)
Creates a new HepPlanner with the option to keep the graph a tree (noDag = true) or allow DAG (noDag = false). -
Uses of HepProgram in org.apache.calcite.rel.rules
Fields in org.apache.calcite.rel.rules declared as HepProgram Modifier and Type Field Description private HepProgram
MaterializedViewFilterScanRule. program
protected HepProgram
AbstractMaterializedViewRule. unionRewritingPullProgram
If we generate union rewriting, we might want to pull up projections from the query itself to maximize rewriting opportunities.Constructors in org.apache.calcite.rel.rules with parameters of type HepProgram Constructor Description AbstractMaterializedViewRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram, boolean fastBailOut)
Creates a AbstractMaterializedViewRule.MaterializedViewAggregateRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram)
Creates a MaterializedViewAggregateRule.MaterializedViewJoinRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram, boolean fastBailOut)
Creates a MaterializedViewJoinRule.MaterializedViewOnlyAggregateRule(RelBuilderFactory relBuilderFactory, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram)
MaterializedViewOnlyFilterRule(RelBuilderFactory relBuilderFactory, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram, boolean fastBailOut)
MaterializedViewOnlyJoinRule(RelBuilderFactory relBuilderFactory, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram, boolean fastBailOut)
MaterializedViewProjectAggregateRule(RelBuilderFactory relBuilderFactory, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram)
MaterializedViewProjectFilterRule(RelBuilderFactory relBuilderFactory, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram, boolean fastBailOut)
MaterializedViewProjectJoinRule(RelBuilderFactory relBuilderFactory, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram, boolean fastBailOut)
-
Uses of HepProgram in org.apache.calcite.sql2rel
Methods in org.apache.calcite.sql2rel with parameters of type HepProgram Modifier and Type Method Description private HepPlanner
RelDecorrelator. createPlanner(HepProgram program)
-
Uses of HepProgram in org.apache.calcite.tools
Methods in org.apache.calcite.tools with parameters of type HepProgram Modifier and Type Method Description static Program
Programs. of(HepProgram hepProgram, boolean noDag, RelMetadataProvider metadataProvider)
Creates a program that executes aHepProgram
.
-