Uses of Class
org.apache.flink.sql.parser.ddl.constraint.SqlTableConstraint
Packages that use SqlTableConstraint
Package
Description
Flink sql parser.
-
Uses of SqlTableConstraint in org.apache.flink.sql.parser
Methods in org.apache.flink.sql.parser that return types with arguments of type SqlTableConstraintModifier and TypeMethodDescriptionstatic List<SqlTableConstraint>SqlConstraintValidator.getFullConstraints(List<SqlTableConstraint> tableConstraints, org.apache.calcite.sql.SqlNodeList columnList) Returns the column constraints plus the table constraints.Methods in org.apache.flink.sql.parser with parameters of type SqlTableConstraintModifier and TypeMethodDescriptionstatic voidSqlConstraintValidator.validate(SqlTableConstraint constraint) Check table constraint.Method parameters in org.apache.flink.sql.parser with type arguments of type SqlTableConstraintModifier and TypeMethodDescriptionstatic List<SqlTableConstraint>SqlConstraintValidator.getFullConstraints(List<SqlTableConstraint> tableConstraints, org.apache.calcite.sql.SqlNodeList columnList) Returns the column constraints plus the table constraints.static voidSqlUnparseUtils.unparseTableSchema(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec, org.apache.calcite.sql.SqlNodeList columnList, List<SqlTableConstraint> constraints, SqlWatermark watermark) static voidSqlConstraintValidator.validateAndChangeColumnNullability(List<SqlTableConstraint> tableConstraints, org.apache.calcite.sql.SqlNodeList columnList) Check constraints and change the nullability of primary key columns. -
Uses of SqlTableConstraint in org.apache.flink.sql.parser.ddl
Fields in org.apache.flink.sql.parser.ddl with type parameters of type SqlTableConstraintModifier and TypeFieldDescriptionprotected final List<SqlTableConstraint>SqlAlterTableSchema.constraintsSqlCreateTable.TableCreationContext.constraintsMethods in org.apache.flink.sql.parser.ddl that return SqlTableConstraintMethods in org.apache.flink.sql.parser.ddl that return types with arguments of type SqlTableConstraintModifier and TypeMethodDescriptionSqlTableColumn.SqlRegularColumn.getConstraint()SqlAlterTableSchema.getConstraints()SqlAlterTableSchema.getFullConstraint()SqlCreateTable.getFullConstraints()Returns the column constraints plus the table constraints.SqlReplaceTableAs.getFullConstraints()Returns the column constraints plus the table constraints.SqlCreateMaterializedTable.getTableConstraint()SqlCreateTable.getTableConstraints()SqlReplaceTableAs.getTableConstraints()Constructors in org.apache.flink.sql.parser.ddl with parameters of type SqlTableConstraintModifierConstructorDescriptionSqlAlterTableAddConstraint(org.apache.calcite.sql.SqlIdentifier tableID, SqlTableConstraint constraint, org.apache.calcite.sql.parser.SqlParserPos pos, boolean ifTableExists) Creates a add table constraint node.SqlCreateMaterializedTable(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlCharStringLiteral comment, SqlTableConstraint tableConstraint, org.apache.calcite.sql.SqlNodeList partitionKeyList, org.apache.calcite.sql.SqlNodeList propertyList, org.apache.calcite.sql.SqlIntervalLiteral freshness, org.apache.calcite.sql.SqlLiteral refreshMode, org.apache.calcite.sql.SqlNode asQuery) 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 parameters in org.apache.flink.sql.parser.ddl with type arguments of type SqlTableConstraintModifierConstructorDescriptionSqlAlterTableAdd(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList addedColumns, List<SqlTableConstraint> constraint, SqlWatermark sqlWatermark, SqlDistribution distribution, boolean ifTableExists) 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, SqlDistribution distribution, boolean ifTableExists) 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, SqlDistribution distribution, boolean ifTableExists) 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, SqlDistribution distribution, org.apache.calcite.sql.SqlNodeList partitionKeyList, SqlWatermark watermark, org.apache.calcite.sql.SqlCharStringLiteral comment, boolean isTemporary, boolean ifNotExists) protectedSqlCreateTable(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, SqlDistribution distribution, 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, SqlDistribution distribution, 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, SqlDistribution distribution, org.apache.calcite.sql.SqlNodeList partitionKeyList, SqlWatermark watermark, org.apache.calcite.sql.SqlCharStringLiteral comment, SqlTableLike tableLike, boolean isTemporary, boolean ifNotExists) SqlReplaceTableAs(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, SqlDistribution distribution, org.apache.calcite.sql.SqlNodeList partitionKeyList, SqlWatermark watermark, org.apache.calcite.sql.SqlCharStringLiteral comment, org.apache.calcite.sql.SqlNode asQuery, boolean isTemporary, boolean ifNotExists, boolean isCreateOrReplace) -
Uses of SqlTableConstraint in org.apache.flink.sql.parser.impl
Methods in org.apache.flink.sql.parser.impl that return SqlTableConstraintModifier and TypeMethodDescriptionfinal SqlTableConstraintFlinkSqlParserImpl.ColumnConstraint(org.apache.calcite.sql.SqlIdentifier column) Parses a column constraint for CREATE TABLE.final SqlTableConstraintFlinkSqlParserImpl.TableConstraint()Parses a table constraint for CREATE TABLE.