Class SqlTableColumn

java.lang.Object
org.apache.calcite.sql.SqlNode
org.apache.calcite.sql.SqlCall
org.apache.flink.sql.parser.ddl.SqlTableColumn
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
SqlTableColumn.SqlComputedColumn, SqlTableColumn.SqlMetadataColumn, SqlTableColumn.SqlRegularColumn

public abstract class SqlTableColumn extends org.apache.calcite.sql.SqlCall
Table column of a CREATE TABLE DDL.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    A column derived from an expression.
    static class 
    A column derived from metadata.
    static class 
    A regular, physical column.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apache.calcite.sql.SqlNode
     
    protected final org.apache.calcite.sql.SqlIdentifier
     

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

    EMPTY_ARRAY, pos
  • Method Summary

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

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

    accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, getOperandList, isCountStar, isExpanded, operand, operandCount, setOperand, 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

    • name

      protected final org.apache.calcite.sql.SqlIdentifier name
    • comment

      protected final org.apache.calcite.sql.SqlNode comment
  • Method Details

    • unparseColumn

      protected abstract void unparseColumn(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
    • getOperator

      @Nonnull public org.apache.calcite.sql.SqlOperator getOperator()
      Specified by:
      getOperator in class org.apache.calcite.sql.SqlCall
    • unparse

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

      public org.apache.calcite.sql.SqlIdentifier getName()
    • getComment

      public Optional<org.apache.calcite.sql.SqlNode> getComment()