Package | Description |
---|---|
org.apache.flink.sql.parser.ddl | |
org.apache.flink.sql.parser.impl |
Modifier and Type | Field and Description |
---|---|
List<SqlTableConstraint> |
SqlCreateTable.TableCreationContext.constraints |
Modifier and Type | Method and Description |
---|---|
SqlTableConstraint |
SqlAlterTableAddConstraint.getConstraint() |
Modifier and Type | Method and Description |
---|---|
Optional<SqlTableConstraint> |
SqlTableColumn.SqlRegularColumn.getConstraint() |
List<SqlTableConstraint> |
SqlCreateTable.getFullConstraints()
Returns the column constraints plus the table constraints.
|
List<SqlTableConstraint> |
SqlCreateTable.getTableConstraints() |
Constructor and Description |
---|
SqlAlterTableAddConstraint(org.apache.calcite.sql.SqlIdentifier tableID,
SqlTableConstraint constraint,
org.apache.calcite.sql.parser.SqlParserPos pos)
Creates a add table constraint node.
|
SqlRegularColumn(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier name,
org.apache.calcite.sql.SqlNode comment,
org.apache.calcite.sql.SqlDataTypeSpec type,
SqlTableConstraint constraint) |
Constructor and Description |
---|
SqlCreateTable(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList columnList,
List<SqlTableConstraint> tableConstraints,
org.apache.calcite.sql.SqlNodeList propertyList,
org.apache.calcite.sql.SqlNodeList partitionKeyList,
SqlWatermark watermark,
org.apache.calcite.sql.SqlCharStringLiteral comment,
SqlTableLike tableLike,
boolean isTemporary,
boolean ifNotExists) |
Modifier and Type | Method and Description |
---|---|
SqlTableConstraint |
FlinkSqlParserImpl.ColumnConstraint(org.apache.calcite.sql.SqlIdentifier column)
Parses a column constraint for CREATE TABLE.
|
SqlTableConstraint |
FlinkSqlParserImpl.TableConstraint()
Parses a table constraint for CREATE TABLE.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.