public class PlannerFactory extends Object
| Constructor and Description |
|---|
PlannerFactory(DruidSchemaCatalog rootSchema,
DruidOperatorTable operatorTable,
ExprMacroTable macroTable,
PlannerConfig plannerConfig,
AuthorizerMapper authorizerMapper,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
String druidSchemaName,
CalciteRulesManager calciteRuleManager) |
| Modifier and Type | Method and Description |
|---|---|
DruidPlanner |
createPlanner(SqlEngine engine,
String sql,
QueryContext queryContext)
Create a Druid query planner from an initial query context
|
DruidPlanner |
createPlannerForTesting(SqlEngine engine,
String sql,
QueryContext queryContext)
Not just visible for, but only for testing.
|
AuthorizerMapper |
getAuthorizerMapper() |
@Inject public PlannerFactory(DruidSchemaCatalog rootSchema, DruidOperatorTable operatorTable, ExprMacroTable macroTable, PlannerConfig plannerConfig, AuthorizerMapper authorizerMapper, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, String druidSchemaName, CalciteRulesManager calciteRuleManager)
public DruidPlanner createPlanner(SqlEngine engine, String sql, QueryContext queryContext)
public DruidPlanner createPlannerForTesting(SqlEngine engine, String sql, QueryContext queryContext)
public AuthorizerMapper getAuthorizerMapper()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.