Package | Description |
---|---|
org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
org.apache.calcite.rel.core |
Defines core relational expressions.
|
org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
org.apache.calcite.tools |
Provides utility classes.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
RelOptTable.ToRelContext
Contains the context needed to convert a a table into a relational
expression.
|
Modifier and Type | Method and Description |
---|---|
static RelOptTable.ToRelContext |
ViewExpanders.toRelContext(RelOptTable.ViewExpander viewExpander,
RelOptCluster cluster)
Converts a
ViewExpander to a ToRelContext . |
Modifier and Type | Class and Description |
---|---|
(package private) class |
CalciteMaterializer
Context for populating a
Prepare.Materialization . |
(package private) static class |
CalcitePrepareImpl.CalcitePreparingStmt
Holds state for the process of preparing a SQL statement.
|
class |
PlannerImpl
Implementation of
Planner . |
class |
PlannerImpl.ViewExpanderImpl
Deprecated.
Now
PlannerImpl implements RelOptTable.ViewExpander
directly. |
Modifier and Type | Method and Description |
---|---|
static RelFactories.TableScanFactory |
RelFactories.expandingScanFactory(RelOptTable.ViewExpander viewExpander,
RelFactories.TableScanFactory tableScanFactory)
Creates a
RelFactories.TableScanFactory that uses a
RelOptTable.ViewExpander to handle
TranslatableTable instances, and falls back to a default
factory for other tables. |
Modifier and Type | Field and Description |
---|---|
RelOptTable.ViewExpander |
SqlToRelConverter.viewExpander |
Constructor and Description |
---|
SqlToRelConverter(RelOptTable.ViewExpander viewExpander,
SqlValidator validator,
Prepare.CatalogReader catalogReader,
RelOptCluster cluster,
SqlRexConvertletTable convertletTable)
Deprecated.
|
SqlToRelConverter(RelOptTable.ViewExpander viewExpander,
SqlValidator validator,
Prepare.CatalogReader catalogReader,
RelOptCluster cluster,
SqlRexConvertletTable convertletTable,
SqlToRelConverter.Config config) |
SqlToRelConverter(RelOptTable.ViewExpander viewExpander,
SqlValidator validator,
Prepare.CatalogReader catalogReader,
RelOptPlanner planner,
RexBuilder rexBuilder,
SqlRexConvertletTable convertletTable)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private RelOptTable.ViewExpander |
Frameworks.ConfigBuilder.viewExpander |
private RelOptTable.ViewExpander |
Frameworks.StdFrameworkConfig.viewExpander |
Modifier and Type | Method and Description |
---|---|
RelOptTable.ViewExpander |
FrameworkConfig.getViewExpander()
Returns a view expander.
|
RelOptTable.ViewExpander |
Frameworks.StdFrameworkConfig.getViewExpander() |
Modifier and Type | Method and Description |
---|---|
Frameworks.ConfigBuilder |
Frameworks.ConfigBuilder.viewExpander(RelOptTable.ViewExpander viewExpander) |
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.