public static class PlannerFactory.DefaultPlannerContext extends Object implements PlannerFactory.Context
PlannerFactory.Context.| Constructor and Description |
|---|
DefaultPlannerContext(Executor executor,
TableConfig tableConfig,
ClassLoader classLoader,
ModuleManager moduleManager,
CatalogManager catalogManager,
FunctionCatalog functionCatalog) |
| Modifier and Type | Method and 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.
|
public DefaultPlannerContext(Executor executor, TableConfig tableConfig, ClassLoader classLoader, ModuleManager moduleManager, CatalogManager catalogManager, FunctionCatalog functionCatalog)
public Executor getExecutor()
PlannerFactory.ContextgetExecutor in interface PlannerFactory.Contextpublic TableConfig getTableConfig()
PlannerFactory.ContextgetTableConfig in interface PlannerFactory.Contextpublic ClassLoader getClassLoader()
PlannerFactory.ContextgetClassLoader in interface PlannerFactory.ContextEnvironmentSettings.getUserClassLoader()public ModuleManager getModuleManager()
PlannerFactory.ContextgetModuleManager in interface PlannerFactory.Contextpublic CatalogManager getCatalogManager()
PlannerFactory.ContextgetCatalogManager in interface PlannerFactory.Contextpublic FunctionCatalog getFunctionCatalog()
PlannerFactory.ContextgetFunctionCatalog in interface PlannerFactory.ContextCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.