@Internal public interface PlannerFactory extends ComponentFactory
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|
Creates a corresponding
Planner create(Map<String,String> properties, Executor executor, TableConfig tableConfig, FunctionCatalog functionCatalog, CatalogManager catalogManager)
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.
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.