Package | Description |
---|---|
org.apache.flink.sql.parser |
Flink sql parser.
|
org.apache.flink.sql.parser.ddl | |
org.apache.flink.sql.parser.impl |
Modifier and Type | Method and Description |
---|---|
static void |
SqlUnparseUtils.unparseTableSchema(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec,
org.apache.calcite.sql.SqlNodeList columnList,
List<SqlTableConstraint> constraints,
SqlWatermark watermark) |
Modifier and Type | Field and Description |
---|---|
List<SqlTableConstraint> |
SqlCreateTable.TableCreationContext.constraints |
protected List<SqlTableConstraint> |
SqlAlterTableSchema.constraints |
Modifier and Type | Method and Description |
---|---|
SqlTableConstraint |
SqlAlterTableAddConstraint.getConstraint() |
Modifier and Type | Method and Description |
---|---|
Optional<SqlTableConstraint> |
SqlTableColumn.SqlRegularColumn.getConstraint() |
List<SqlTableConstraint> |
SqlAlterTableSchema.getConstraints() |
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 |
---|
SqlAlterTableAdd(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList addedColumns,
List<SqlTableConstraint> constraint,
SqlWatermark sqlWatermark) |
SqlAlterTableModify(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList modifiedColumns,
List<SqlTableConstraint> constraints,
SqlWatermark watermark) |
SqlAlterTableSchema(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList columnList,
List<SqlTableConstraint> constraints,
SqlWatermark sqlWatermark) |
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,
boolean isTemporary,
boolean ifNotExists) |
SqlCreateTable(org.apache.calcite.sql.SqlSpecialOperator operator,
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,
boolean isTemporary,
boolean ifNotExists) |
SqlCreateTableAs(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,
org.apache.calcite.sql.SqlNode asQuery,
boolean isTemporary,
boolean ifNotExists) |
SqlCreateTableLike(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.