@Internal public interface PlannerFactory extends ComponentFactory
Planner
.
This factory is used with Java's Service Provider Interfaces (SPI) for discovering. A factory is called with a set of normalized properties that describe the desired configuration. Those properties may include execution configurations such as watermark interval, max parallelism etc., table specific initialization configuration such as if the queries should be executed in batch mode.
Modifier and Type | Method and Description |
---|---|
Planner |
create(Map<String,String> properties,
Executor executor,
TableConfig tableConfig,
FunctionCatalog functionCatalog,
CatalogManager catalogManager)
Creates a corresponding
Planner . |
optionalContext, requiredContext, supportedProperties
Planner create(Map<String,String> properties, Executor executor, TableConfig tableConfig, FunctionCatalog functionCatalog, CatalogManager catalogManager)
Planner
.properties
- Static properties of the Planner
, the same that were used for
factory lookup.executor
- The executor required by the planner.tableConfig
- The configuration of the planner to use.functionCatalog
- The function catalog to look up user defined functions.catalogManager
- The catalog manager to look up tables and views.Planner
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.