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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal PhysicalPlangetPlan(org.apache.calcite.sql.SqlNode sqlNode) HandlesDrillSqlResetOptionqueryMethods 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 HandlesDrillSqlResetOptionquery- Specified by:
getPlanin classAbstractSqlHandler- Throws:
ForemanSetupException
-