| Package | Description |
|---|---|
| org.apache.calcite.plan.hep |
Provides a heuristic planner implementation for the interfaces in
org.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.
|
| Modifier and Type | Field and Description |
|---|---|
private HepProgram |
HepPlanner.currentProgram |
private HepProgram |
HepPlanner.mainProgram |
(package private) HepProgram |
HepInstruction.Subprogram.subprogram |
| Modifier and Type | Method and Description |
|---|---|
HepProgram |
HepProgramBuilder.build()
Returns the constructed program, clearing the state of this program
builder as a side-effect.
|
| Modifier and Type | Method and Description |
|---|---|
HepProgramBuilder |
HepProgramBuilder.addSubprogram(HepProgram program)
Adds an instruction to execute a subprogram.
|
private void |
HepPlanner.executeProgram(HepProgram program) |
| Constructor and 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,Void> onCopyHook,
RelOptCostFactory costFactory)
Creates a new HepPlanner with the option to keep the graph a
tree(noDAG=true) or allow DAG(noDAG=false).
|
| Modifier and Type | Field and 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.
|
| Constructor and Description |
|---|
AbstractMaterializedViewRule(RelOptRuleOperand operand,
RelBuilderFactory relBuilderFactory,
String description,
boolean generateUnionRewriting,
HepProgram unionRewritingPullProgram,
boolean fastBailOut)
Creates a AbstractMaterializedViewRule.
|
MaterializedViewAggregateRule(RelOptRuleOperand operand,
RelBuilderFactory relBuilderFactory,
String description,
boolean generateUnionRewriting,
HepProgram unionRewritingPullProgram)
Creates a MaterializedViewAggregateRule.
|
MaterializedViewJoinRule(RelOptRuleOperand operand,
RelBuilderFactory relBuilderFactory,
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) |
| Modifier and Type | Method and Description |
|---|---|
private HepPlanner |
RelDecorrelator.createPlanner(HepProgram program) |
| Modifier and Type | Method and Description |
|---|---|
static Program |
Programs.of(HepProgram hepProgram,
boolean noDag,
RelMetadataProvider metadataProvider)
Creates a program that executes a
HepProgram. |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.