Class SetOptionHandler
java.lang.Object
org.apache.drill.exec.planner.sql.handlers.AbstractSqlHandler
org.apache.drill.exec.planner.sql.handlers.SetOptionHandler
Converts a
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresentation of "SET property.name" query result. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal PhysicalPlangetPlan(org.apache.calcite.sql.SqlNode sqlNode) HandlesDrillSqlSetOptionqueryMethods inherited from class org.apache.drill.exec.planner.sql.handlers.AbstractSqlHandler
unwrap
-
Constructor Details
-
SetOptionHandler
-
-
Method Details
-
getPlan
public final PhysicalPlan getPlan(org.apache.calcite.sql.SqlNode sqlNode) throws ForemanSetupException HandlesDrillSqlSetOptionquery- Specified by:
getPlanin classAbstractSqlHandler- Throws:
ForemanSetupException
-