Class PlannerFactory.DefaultPlannerContext
- java.lang.Object
-
- org.apache.flink.table.delegation.PlannerFactory.DefaultPlannerContext
-
- All Implemented Interfaces:
PlannerFactory.Context
- Enclosing interface:
- PlannerFactory
@Internal public static class PlannerFactory.DefaultPlannerContext extends Object implements PlannerFactory.Context
Default implementation ofPlannerFactory.Context.
-
-
Constructor Summary
Constructors Constructor Description DefaultPlannerContext(Executor executor, TableConfig tableConfig, ClassLoader classLoader, ModuleManager moduleManager, CatalogManager catalogManager, FunctionCatalog functionCatalog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogManagergetCatalogManager()The catalog manager to look up tables and views.ClassLoadergetClassLoader()The user classloader.ExecutorgetExecutor()The executor required by the planner.FunctionCataloggetFunctionCatalog()The function catalog to look up user defined functions.ModuleManagergetModuleManager()The module manager.TableConfiggetTableConfig()The configuration of the planner to use.
-
-
-
Constructor Detail
-
DefaultPlannerContext
public DefaultPlannerContext(Executor executor, TableConfig tableConfig, ClassLoader classLoader, ModuleManager moduleManager, CatalogManager catalogManager, FunctionCatalog functionCatalog)
-
-
Method Detail
-
getExecutor
public Executor getExecutor()
Description copied from interface:PlannerFactory.ContextThe executor required by the planner.- Specified by:
getExecutorin interfacePlannerFactory.Context
-
getTableConfig
public TableConfig getTableConfig()
Description copied from interface:PlannerFactory.ContextThe configuration of the planner to use.- Specified by:
getTableConfigin interfacePlannerFactory.Context
-
getClassLoader
public ClassLoader getClassLoader()
Description copied from interface:PlannerFactory.ContextThe user classloader.- Specified by:
getClassLoaderin interfacePlannerFactory.Context- See Also:
EnvironmentSettings.getUserClassLoader()
-
getModuleManager
public ModuleManager getModuleManager()
Description copied from interface:PlannerFactory.ContextThe module manager.- Specified by:
getModuleManagerin interfacePlannerFactory.Context
-
getCatalogManager
public CatalogManager getCatalogManager()
Description copied from interface:PlannerFactory.ContextThe catalog manager to look up tables and views.- Specified by:
getCatalogManagerin interfacePlannerFactory.Context
-
getFunctionCatalog
public FunctionCatalog getFunctionCatalog()
Description copied from interface:PlannerFactory.ContextThe function catalog to look up user defined functions.- Specified by:
getFunctionCatalogin interfacePlannerFactory.Context
-
-