Class DrillSqlResetOption
java.lang.Object
org.apache.calcite.sql.SqlNode
org.apache.calcite.sql.SqlCall
org.apache.calcite.sql.SqlAlter
org.apache.calcite.sql.SqlSetOption
org.apache.drill.exec.planner.sql.parser.DrillSqlResetOption
- All Implemented Interfaces:
Cloneable
public final class DrillSqlResetOption
extends org.apache.calcite.sql.SqlSetOption
Sql parse tree node to represent statement:
RESET { <NAME> | ALL }
.
Statement handled in: ResetOptionHandler
-
Field Summary
Fields inherited from class org.apache.calcite.sql.SqlNode
EMPTY_ARRAY, pos
-
Constructor Summary
ConstructorDescriptionDrillSqlResetOption
(org.apache.calcite.sql.parser.SqlParserPos pos, String scope, org.apache.calcite.sql.SqlIdentifier name) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.sql.SqlKind
getKind()
List<org.apache.calcite.sql.SqlNode>
org.apache.calcite.sql.SqlOperator
void
setOperand
(int i, org.apache.calcite.sql.SqlNode operand) protected void
unparseAlterOperation
(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec) Methods inherited from class org.apache.calcite.sql.SqlSetOption
getName, getValue, setName, setValue, validate
Methods inherited from class org.apache.calcite.sql.SqlAlter
getScope, setScope, unparse
Methods inherited from class org.apache.calcite.sql.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getMonotonicity, isCountStar, isExpanded, operand, operandCount
Methods inherited from class org.apache.calcite.sql.SqlNode
clone, clone, cloneArray, equalDeep, equalDeep, equalsDeep, getParserPosition, isA, toList, toList, toSqlString, toSqlString, toSqlString, toString, unparseWithParentheses, validateExpr
-
Field Details
-
OPERATOR
public static final org.apache.calcite.sql.SqlSpecialOperator OPERATOR
-
-
Constructor Details
-
DrillSqlResetOption
public DrillSqlResetOption(org.apache.calcite.sql.parser.SqlParserPos pos, String scope, org.apache.calcite.sql.SqlIdentifier name)
-
-
Method Details
-
getKind
public org.apache.calcite.sql.SqlKind getKind()- Overrides:
getKind
in classorg.apache.calcite.sql.SqlSetOption
-
getOperator
public org.apache.calcite.sql.SqlOperator getOperator()- Overrides:
getOperator
in classorg.apache.calcite.sql.SqlSetOption
-
getOperandList
- Overrides:
getOperandList
in classorg.apache.calcite.sql.SqlSetOption
-
setOperand
public void setOperand(int i, org.apache.calcite.sql.SqlNode operand) - Overrides:
setOperand
in classorg.apache.calcite.sql.SqlSetOption
-
unparseAlterOperation
protected void unparseAlterOperation(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec) - Overrides:
unparseAlterOperation
in classorg.apache.calcite.sql.SqlSetOption
-