public class SourceAbilityContext extends Object implements org.apache.flink.table.planner.calcite.FlinkContext
FlinkContext which contains the information for SourceAbilitySpec
to apply the following abilities to DynamicTableSource.
| Constructor and Description |
|---|
SourceAbilityContext(org.apache.flink.table.planner.calcite.FlinkContext context,
org.apache.flink.table.types.logical.RowType sourceRowType) |
| Modifier and Type | Method and Description |
|---|---|
static SourceAbilityContext |
from(org.apache.calcite.rel.core.TableScan scan) |
org.apache.flink.table.catalog.CatalogManager |
getCatalogManager() |
org.apache.flink.table.catalog.FunctionCatalog |
getFunctionCatalog() |
org.apache.flink.table.module.ModuleManager |
getModuleManager() |
org.apache.flink.table.types.logical.RowType |
getSourceRowType() |
SqlExprToRexConverterFactory |
getSqlExprToRexConverterFactory() |
org.apache.flink.table.api.TableConfig |
getTableConfig() |
boolean |
isBatchMode() |
<C> C |
unwrap(Class<C> clazz) |
public SourceAbilityContext(org.apache.flink.table.planner.calcite.FlinkContext context,
org.apache.flink.table.types.logical.RowType sourceRowType)
public boolean isBatchMode()
isBatchMode in interface org.apache.flink.table.planner.calcite.FlinkContextpublic org.apache.flink.table.api.TableConfig getTableConfig()
getTableConfig in interface org.apache.flink.table.planner.calcite.FlinkContextpublic org.apache.flink.table.catalog.FunctionCatalog getFunctionCatalog()
getFunctionCatalog in interface org.apache.flink.table.planner.calcite.FlinkContextpublic org.apache.flink.table.catalog.CatalogManager getCatalogManager()
getCatalogManager in interface org.apache.flink.table.planner.calcite.FlinkContextpublic org.apache.flink.table.module.ModuleManager getModuleManager()
getModuleManager in interface org.apache.flink.table.planner.calcite.FlinkContextpublic SqlExprToRexConverterFactory getSqlExprToRexConverterFactory()
getSqlExprToRexConverterFactory in interface org.apache.flink.table.planner.calcite.FlinkContextpublic <C> C unwrap(Class<C> clazz)
unwrap in interface org.apache.calcite.schema.Wrapperunwrap in interface org.apache.flink.table.planner.calcite.FlinkContextpublic org.apache.flink.table.types.logical.RowType getSourceRowType()
public static SourceAbilityContext from(org.apache.calcite.rel.core.TableScan scan)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.