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 | Class and Description |
---|---|
private static class |
RelOptCostImpl.Factory
Implementation of
RelOptCostFactory that creates
RelOptCostImpl s. |
Modifier and Type | Field and Description |
---|---|
protected RelOptCostFactory |
AbstractRelOptPlanner.costFactory |
static RelOptCostFactory |
RelOptCostImpl.FACTORY |
Modifier and Type | Method and Description |
---|---|
RelOptCostFactory |
RelOptPlanner.getCostFactory()
Returns the factory that creates
RelOptCost s. |
RelOptCostFactory |
AbstractRelOptPlanner.getCostFactory() |
Constructor and Description |
---|
AbstractRelOptPlanner(RelOptCostFactory costFactory,
Context context)
Creates an AbstractRelOptPlanner.
|
Constructor and Description |
---|
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).
|
Modifier and Type | Class and Description |
---|---|
private static class |
VolcanoCost.Factory
Implementation of
RelOptCostFactory
that creates VolcanoCost s. |
Modifier and Type | Field and Description |
---|---|
static RelOptCostFactory |
VolcanoCost.FACTORY |
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 | Field and Description |
---|---|
private RelOptCostFactory |
Frameworks.ConfigBuilder.costFactory |
private RelOptCostFactory |
Frameworks.StdFrameworkConfig.costFactory |
Modifier and Type | Method and Description |
---|---|
RelOptCostFactory |
FrameworkConfig.getCostFactory()
Returns the cost factory that should be used when creating the planner.
|
RelOptCostFactory |
Frameworks.StdFrameworkConfig.getCostFactory() |
Modifier and Type | Method and Description |
---|---|
Frameworks.ConfigBuilder |
Frameworks.ConfigBuilder.costFactory(RelOptCostFactory costFactory) |
Constructor and Description |
---|
StdFrameworkConfig(Context context,
SqlRexConvertletTable convertletTable,
SqlOperatorTable operatorTable,
com.google.common.collect.ImmutableList<Program> programs,
com.google.common.collect.ImmutableList<RelTraitDef> traitDefs,
SqlParser.Config parserConfig,
SqlToRelConverter.Config sqlToRelConverterConfig,
SchemaPlus defaultSchema,
RelOptCostFactory costFactory,
RelDataTypeSystem typeSystem,
RexExecutor executor,
boolean evolveLattice,
SqlStatisticProvider statisticProvider,
RelOptTable.ViewExpander viewExpander) |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.