public class SetOptionHandler extends AbstractSqlHandler
SqlNode representing "ALTER .. SET option = value" and "ALTER ... RESET ..." statements to a
PhysicalPlan. See SqlSetOption. 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.| Constructor and Description |
|---|
SetOptionHandler(QueryContext context) |
| Modifier and Type | Method and Description |
|---|---|
PhysicalPlan |
getPlan(org.apache.calcite.sql.SqlNode sqlNode) |
unwrappublic SetOptionHandler(QueryContext context)
public PhysicalPlan getPlan(org.apache.calcite.sql.SqlNode sqlNode) throws org.apache.calcite.tools.ValidationException, ForemanSetupException
getPlan in class AbstractSqlHandlerorg.apache.calcite.tools.ValidationExceptionForemanSetupExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.