Class DefaultCalciteContext
java.lang.Object
org.apache.flink.table.planner.delegation.DefaultCalciteContext
- All Implemented Interfaces:
org.apache.flink.table.calcite.bridge.CalciteContext,org.apache.flink.table.delegation.ParserFactory.Context
@Internal
public class DefaultCalciteContext
extends Object
implements org.apache.flink.table.calcite.bridge.CalciteContext
A context for default dialect with calcite related interfaces.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCalciteContext(org.apache.flink.table.catalog.CatalogManager catalogManager, PlannerContext plannerContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.prepare.CalciteCatalogReadercreateCatalogReader(boolean lenientCaseSensitivity) org.apache.calcite.tools.FrameworkConfigorg.apache.calcite.plan.RelOptTable.ToRelContextorg.apache.flink.table.catalog.CatalogManagerorg.apache.flink.table.catalog.CatalogRegistryorg.apache.calcite.plan.RelOptClusterorg.apache.flink.table.catalog.FunctionCatalogorg.apache.flink.table.api.TableConfigorg.apache.calcite.rel.type.RelDataTypeFactory
-
Constructor Details
-
DefaultCalciteContext
public DefaultCalciteContext(org.apache.flink.table.catalog.CatalogManager catalogManager, PlannerContext plannerContext)
-
-
Method Details
-
getPlannerContext
-
getCatalogManager
public org.apache.flink.table.catalog.CatalogManager getCatalogManager() -
getCatalogRegistry
public org.apache.flink.table.catalog.CatalogRegistry getCatalogRegistry()- Specified by:
getCatalogRegistryin interfaceorg.apache.flink.table.delegation.ParserFactory.Context
-
createCatalogReader
public org.apache.calcite.prepare.CalciteCatalogReader createCatalogReader(boolean lenientCaseSensitivity) - Specified by:
createCatalogReaderin interfaceorg.apache.flink.table.calcite.bridge.CalciteContext
-
getCluster
public org.apache.calcite.plan.RelOptCluster getCluster()- Specified by:
getClusterin interfaceorg.apache.flink.table.calcite.bridge.CalciteContext
-
createFrameworkConfig
public org.apache.calcite.tools.FrameworkConfig createFrameworkConfig()- Specified by:
createFrameworkConfigin interfaceorg.apache.flink.table.calcite.bridge.CalciteContext
-
getTypeFactory
public org.apache.calcite.rel.type.RelDataTypeFactory getTypeFactory()- Specified by:
getTypeFactoryin interfaceorg.apache.flink.table.calcite.bridge.CalciteContext
-
createRelBuilder
- Specified by:
createRelBuilderin interfaceorg.apache.flink.table.calcite.bridge.CalciteContext
-
getTableConfig
public org.apache.flink.table.api.TableConfig getTableConfig()- Specified by:
getTableConfigin interfaceorg.apache.flink.table.calcite.bridge.CalciteContext
-
getClassLoader
- Specified by:
getClassLoaderin interfaceorg.apache.flink.table.calcite.bridge.CalciteContext
-
getFunctionCatalog
public org.apache.flink.table.catalog.FunctionCatalog getFunctionCatalog()- Specified by:
getFunctionCatalogin interfaceorg.apache.flink.table.calcite.bridge.CalciteContext
-
createToRelContext
public org.apache.calcite.plan.RelOptTable.ToRelContext createToRelContext()- Specified by:
createToRelContextin interfaceorg.apache.flink.table.calcite.bridge.CalciteContext
-