Package org.apache.flink.sql.parser.ddl
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.SqlCallTable column of a CREATE TABLE DDL.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSqlTableColumn.SqlComputedColumnA column derived from an expression.static classSqlTableColumn.SqlMetadataColumnA column derived from metadata.static classSqlTableColumn.SqlRegularColumnA regular, physical column.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Optional<org.apache.calcite.sql.SqlNode>getComment()org.apache.calcite.sql.SqlIdentifiergetName()org.apache.calcite.sql.SqlOperatorgetOperator()voidunparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)protected abstract voidunparseColumn(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
-
-
-
-
Method Detail
-
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:
getOperatorin classorg.apache.calcite.sql.SqlCall
-
unparse
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)- Overrides:
unparsein classorg.apache.calcite.sql.SqlCall
-
getName
public org.apache.calcite.sql.SqlIdentifier getName()
-
getComment
public Optional<org.apache.calcite.sql.SqlNode> getComment()
-
-