Class DrillSqlSetOption

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.DrillSqlSetOption
All Implemented Interfaces:
Cloneable

public final class DrillSqlSetOption extends org.apache.calcite.sql.SqlSetOption
Sql parse tree node to represent statement: SET <NAME> [ = VALUE ]. Statement handled in: SetOptionHandler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.calcite.sql.SqlSpecialOperator
     

    Fields inherited from class org.apache.calcite.sql.SqlNode

    EMPTY_ARRAY, pos
  • Constructor Summary

    Constructors
    Constructor
    Description
    DrillSqlSetOption(org.apache.calcite.sql.parser.SqlParserPos pos, String scope, org.apache.calcite.sql.SqlIdentifier name, org.apache.calcite.sql.SqlNode value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.sql.SqlKind
     
    org.apache.calcite.sql.SqlOperator
     
    protected void
    unparseAlterOperation(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
     

    Methods inherited from class org.apache.calcite.sql.SqlSetOption

    getName, getOperandList, getValue, setName, setOperand, 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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • OPERATOR

      public static final org.apache.calcite.sql.SqlSpecialOperator OPERATOR
  • Constructor Details

    • DrillSqlSetOption

      public DrillSqlSetOption(org.apache.calcite.sql.parser.SqlParserPos pos, String scope, org.apache.calcite.sql.SqlIdentifier name, org.apache.calcite.sql.SqlNode value)
  • Method Details

    • getKind

      public org.apache.calcite.sql.SqlKind getKind()
      Overrides:
      getKind in class org.apache.calcite.sql.SqlSetOption
    • getOperator

      public org.apache.calcite.sql.SqlOperator getOperator()
      Overrides:
      getOperator in class org.apache.calcite.sql.SqlSetOption
    • unparseAlterOperation

      protected void unparseAlterOperation(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
      Overrides:
      unparseAlterOperation in class org.apache.calcite.sql.SqlSetOption