| Package | Description |
|---|---|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.plan.hep |
Provides a heuristic planner implementation for the interfaces in
org.apache.calcite.plan. |
| org.apache.calcite.plan.volcano |
Optimizes relational expressions.
|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
protected RelOptCostFactory |
AbstractRelOptPlanner.costFactory |
static RelOptCostFactory |
RelOptCostImpl.FACTORY |
| Modifier and Type | Method and Description |
|---|---|
RelOptCostFactory |
AbstractRelOptPlanner.getCostFactory() |
RelOptCostFactory |
RelOptPlanner.getCostFactory()
Returns the factory that creates
RelOptCosts. |
| Constructor and Description |
|---|
AbstractRelOptPlanner(RelOptCostFactory costFactory,
Context context)
Creates an AbstractRelOptPlanner.
|
| Constructor and Description |
|---|
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).
|
| Constructor and Description |
|---|
VolcanoPlanner(RelOptCostFactory costFactory,
Context externalContext)
Creates a
VolcanoPlanner with a given cost factory. |
| Modifier and Type | Method and Description |
|---|---|
protected RelOptPlanner |
CalcitePrepareImpl.createPlanner(CalcitePrepare.Context prepareContext,
Context externalContext,
RelOptCostFactory costFactory)
Creates a query planner and initializes it with a default set of
rules.
|
| Modifier and Type | Method and Description |
|---|---|
RelOptCostFactory |
FrameworkConfig.getCostFactory()
Returns the cost factory that should be used when creating the planner.
|
| Modifier and Type | Method and Description |
|---|---|
Frameworks.ConfigBuilder |
Frameworks.ConfigBuilder.costFactory(RelOptCostFactory costFactory) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.