Class SourceAbilityContext
java.lang.Object
org.apache.flink.table.planner.plan.abilities.source.SourceAbilityContext
A sub-class of
FlinkContext which contains the information for SourceAbilitySpec
to apply the following abilities to DynamicTableSource.
- filter push down (SupportsFilterPushDown)
- project push down (SupportsProjectionPushDown)
- partition push down (SupportsPartitionPushDown)
- watermark push down (SupportsWatermarkPushDown)
- aggregate push down (SupportsAggregatePushDown)
- reading metadata (SupportsReadingMetadata)
-
Constructor Summary
ConstructorsConstructorDescriptionSourceAbilityContext(FlinkContext context, FlinkTypeFactory typeFactory, org.apache.flink.table.types.logical.RowType sourceRowType) -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceAbilityContextfrom(org.apache.calcite.rel.core.TableScan scan) org.apache.flink.table.catalog.CatalogManagerorg.apache.flink.table.catalog.FunctionCatalogorg.apache.flink.table.module.ModuleManagerorg.apache.flink.table.types.logical.RowTypeorg.apache.flink.table.api.TableConfigFlinkTypeFactoryboolean<C> C
-
Constructor Details
-
SourceAbilityContext
public SourceAbilityContext(FlinkContext context, FlinkTypeFactory typeFactory, org.apache.flink.table.types.logical.RowType sourceRowType)
-
-
Method Details
-
isBatchMode
public boolean isBatchMode() -
getClassLoader
-
getTableConfig
public org.apache.flink.table.api.TableConfig getTableConfig() -
getFunctionCatalog
public org.apache.flink.table.catalog.FunctionCatalog getFunctionCatalog() -
getCatalogManager
public org.apache.flink.table.catalog.CatalogManager getCatalogManager() -
getModuleManager
public org.apache.flink.table.module.ModuleManager getModuleManager() -
getRexFactory
-
getTypeFactory
public FlinkTypeFactory getTypeFactory() -
unwrap
-
getSourceRowType
public org.apache.flink.table.types.logical.RowType getSourceRowType() -
from
-