public class SetOptionHandler extends AbstractSqlHandler
SqlNode representing: "ALTER .. SET option = value" or "ALTER ... SET option"
statement to a PhysicalPlan. See DrillSqlSetOption
These statements have side effects i.e. the options within the system context or the session context are modified.
The resulting DirectPlan returns to the client a string that is the name of the option that was updated
or a value of the property
| Modifier and Type | Class and Description |
|---|---|
static class |
SetOptionHandler.SetOptionViewResult
Representation of "SET property.name" query result.
|
| Constructor and Description |
|---|
SetOptionHandler(QueryContext context) |
| Modifier and Type | Method and Description |
|---|---|
PhysicalPlan |
getPlan(org.apache.calcite.sql.SqlNode sqlNode)
Handles
DrillSqlSetOption query |
unwrappublic SetOptionHandler(QueryContext context)
public final PhysicalPlan getPlan(org.apache.calcite.sql.SqlNode sqlNode) throws ForemanSetupException
DrillSqlSetOption querygetPlan in class AbstractSqlHandlerForemanSetupExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.