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.SqlCall
Table column of a CREATE TABLE DDL.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA column derived from an expression.static classA column derived from metadata.static classA regular, physical column. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.calcite.sql.SqlNodeprotected final org.apache.calcite.sql.SqlIdentifierFields inherited from class org.apache.calcite.sql.SqlNode
EMPTY_ARRAY, pos -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.apache.calcite.sql.SqlNode>org.apache.calcite.sql.SqlIdentifiergetName()org.apache.calcite.sql.SqlOperatorvoidunparse(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, validateMethods 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
-
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:
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
-