Package | Description |
---|---|
org.apache.calcite.materialize |
Management of materialized query results.
|
org.apache.calcite.statistic |
Implementations of statistics providers.
|
org.apache.calcite.tools |
Provides utility classes.
|
Modifier and Type | Field and Description |
---|---|
(package private) SqlStatisticProvider |
LatticeSpace.statisticProvider |
Modifier and Type | Method and Description |
---|---|
private double |
Step.cardinality(SqlStatisticProvider statisticProvider,
LatticeTable table)
Temporary method.
|
(package private) boolean |
Step.isBackwards(SqlStatisticProvider statisticProvider) |
Constructor and Description |
---|
LatticeSpace(SqlStatisticProvider statisticProvider) |
Modifier and Type | Class and Description |
---|---|
class |
CachingSqlStatisticProvider
Implementation of
SqlStatisticProvider that reads and writes a
cache. |
class |
MapSqlStatisticProvider
Implementation of
SqlStatisticProvider that looks up values in a
table. |
class |
QuerySqlStatisticProvider
Implementation of
SqlStatisticProvider that generates and executes
SQL queries. |
Modifier and Type | Field and Description |
---|---|
private SqlStatisticProvider |
CachingSqlStatisticProvider.provider |
static SqlStatisticProvider |
QuerySqlStatisticProvider.SILENT_CACHING_INSTANCE
Instance that uses SQL to compute statistics,
does not log SQL statements,
and caches up to 1,024 results for up to 30 minutes.
|
static SqlStatisticProvider |
QuerySqlStatisticProvider.VERBOSE_CACHING_INSTANCE
As
QuerySqlStatisticProvider.SILENT_CACHING_INSTANCE but prints SQL statements to
System.out . |
Constructor and Description |
---|
CachingSqlStatisticProvider(SqlStatisticProvider provider,
com.google.common.cache.Cache<java.util.List,java.lang.Object> cache) |
Modifier and Type | Field and Description |
---|---|
private SqlStatisticProvider |
Frameworks.ConfigBuilder.statisticProvider |
private SqlStatisticProvider |
Frameworks.StdFrameworkConfig.statisticProvider |
Modifier and Type | Method and Description |
---|---|
SqlStatisticProvider |
FrameworkConfig.getStatisticProvider()
Returns the source of statistics about tables and columns to be used
by the lattice suggester to deduce primary keys, foreign keys, and the
direction of relationships.
|
SqlStatisticProvider |
Frameworks.StdFrameworkConfig.getStatisticProvider() |
Modifier and Type | Method and Description |
---|---|
Frameworks.ConfigBuilder |
Frameworks.ConfigBuilder.statisticProvider(SqlStatisticProvider statisticProvider) |
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.