| Package | Description |
|---|---|
| org.apache.druid.sql | |
| org.apache.druid.sql.calcite.planner |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractStatement.authorize(DruidPlanner planner,
Function<Set<ResourceAction>,Access> authorizer)
Authorize the query using the authorizer provided, and an option to authorize
context variables as well as query resources.
|
protected PlannerResult |
DirectStatement.createPlan(DruidPlanner planner)
Plan the query, which also produces the sequence that runs
the query.
|
protected void |
AbstractStatement.validate(DruidPlanner planner)
Validate SQL query and authorize against any datasources or views which
will take part in the query.
|
| Modifier and Type | Method and Description |
|---|---|
DruidPlanner |
PlannerFactory.createPlanner(SqlEngine engine,
String sql,
QueryContext queryContext)
Create a Druid query planner from an initial query context
|
DruidPlanner |
PlannerFactory.createPlannerForTesting(SqlEngine engine,
String sql,
QueryContext queryContext)
Not just visible for, but only for testing.
|
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.