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.Context
getExecutor
in interface PlannerFactory.Context
public TableConfig getTableConfig()
PlannerFactory.Context
getTableConfig
in interface PlannerFactory.Context
public ClassLoader getClassLoader()
PlannerFactory.Context
getClassLoader
in interface PlannerFactory.Context
EnvironmentSettings.getUserClassLoader()
public ModuleManager getModuleManager()
PlannerFactory.Context
getModuleManager
in interface PlannerFactory.Context
public CatalogManager getCatalogManager()
PlannerFactory.Context
getCatalogManager
in interface PlannerFactory.Context
public FunctionCatalog getFunctionCatalog()
PlannerFactory.Context
getFunctionCatalog
in interface PlannerFactory.Context
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.