Class DrillSqlDescribeTable

java.lang.Object
org.apache.calcite.sql.SqlNode
org.apache.calcite.sql.SqlCall
org.apache.calcite.sql.SqlDescribeTable
org.apache.drill.exec.planner.sql.parser.DrillSqlDescribeTable
All Implemented Interfaces:
Cloneable

public class DrillSqlDescribeTable extends org.apache.calcite.sql.SqlDescribeTable
Sql parser tree node to represent statement: { DESCRIBE | DESC } tblname [col_name | wildcard ]
  • 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
    DrillSqlDescribeTable(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier table, org.apache.calcite.sql.SqlIdentifier column, org.apache.calcite.sql.SqlNode columnQualifier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.sql.SqlNode
     
    List<org.apache.calcite.sql.SqlNode>
     
    org.apache.calcite.sql.SqlOperator
     
    void
    unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
     

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

    getColumn, getTable, setOperand

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

    accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, validate

    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

    • DrillSqlDescribeTable

      public DrillSqlDescribeTable(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier table, org.apache.calcite.sql.SqlIdentifier column, org.apache.calcite.sql.SqlNode columnQualifier)
  • Method Details

    • getOperandList

      public List<org.apache.calcite.sql.SqlNode> getOperandList()
      Overrides:
      getOperandList in class org.apache.calcite.sql.SqlDescribeTable
    • unparse

      public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
      Overrides:
      unparse in class org.apache.calcite.sql.SqlDescribeTable
    • getColumnQualifier

      public org.apache.calcite.sql.SqlNode getColumnQualifier()
    • getOperator

      public org.apache.calcite.sql.SqlOperator getOperator()
      Overrides:
      getOperator in class org.apache.calcite.sql.SqlDescribeTable