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 CatalogManager
getCatalogManager()
The catalog manager to look up tables and views.ClassLoader
getClassLoader()
The user classloader.Executor
getExecutor()
The executor required by the planner.FunctionCatalog
getFunctionCatalog()
The function catalog to look up user defined functions.ModuleManager
getModuleManager()
The module manager.TableConfig
getTableConfig()
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.Context
The executor required by the planner.- Specified by:
getExecutor
in interfacePlannerFactory.Context
-
getTableConfig
public TableConfig getTableConfig()
Description copied from interface:PlannerFactory.Context
The configuration of the planner to use.- Specified by:
getTableConfig
in interfacePlannerFactory.Context
-
getClassLoader
public ClassLoader getClassLoader()
Description copied from interface:PlannerFactory.Context
The user classloader.- Specified by:
getClassLoader
in interfacePlannerFactory.Context
- See Also:
EnvironmentSettings.getUserClassLoader()
-
getModuleManager
public ModuleManager getModuleManager()
Description copied from interface:PlannerFactory.Context
The module manager.- Specified by:
getModuleManager
in interfacePlannerFactory.Context
-
getCatalogManager
public CatalogManager getCatalogManager()
Description copied from interface:PlannerFactory.Context
The catalog manager to look up tables and views.- Specified by:
getCatalogManager
in interfacePlannerFactory.Context
-
getFunctionCatalog
public FunctionCatalog getFunctionCatalog()
Description copied from interface:PlannerFactory.Context
The function catalog to look up user defined functions.- Specified by:
getFunctionCatalog
in interfacePlannerFactory.Context
-
-