public class ResetOptionHandler extends AbstractSqlHandler
SqlNode representing: "ALTER .. RESET option | ALL" statement to a PhysicalPlan.
See DrillSqlResetOption.
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
| Constructor and Description |
|---|
ResetOptionHandler(QueryContext context)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PhysicalPlan |
getPlan(org.apache.calcite.sql.SqlNode sqlNode)
Handles
DrillSqlResetOption query |
unwrappublic ResetOptionHandler(QueryContext context)
context - Context of the Querypublic final PhysicalPlan getPlan(org.apache.calcite.sql.SqlNode sqlNode) throws ForemanSetupException
DrillSqlResetOption querygetPlan in class AbstractSqlHandlerForemanSetupExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.