Class ResetOptionHandler
java.lang.Object
org.apache.drill.exec.planner.sql.handlers.AbstractSqlHandler
org.apache.drill.exec.planner.sql.handlers.ResetOptionHandler
Converts a
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal PhysicalPlan
getPlan
(org.apache.calcite.sql.SqlNode sqlNode) HandlesDrillSqlResetOption
queryMethods inherited from class org.apache.drill.exec.planner.sql.handlers.AbstractSqlHandler
unwrap
-
Constructor Details
-
ResetOptionHandler
Class constructor.- Parameters:
context
- Context of the Query
-
-
Method Details
-
getPlan
public final PhysicalPlan getPlan(org.apache.calcite.sql.SqlNode sqlNode) throws ForemanSetupException HandlesDrillSqlResetOption
query- Specified by:
getPlan
in classAbstractSqlHandler
- Throws:
ForemanSetupException
-