Uses of Class
org.apache.flink.sql.parser.ddl.constraint.SqlTableConstraint
-
Packages that use SqlTableConstraint Package Description org.apache.flink.sql.parser Flink sql parser.org.apache.flink.sql.parser.ddl org.apache.flink.sql.parser.impl -
-
Uses of SqlTableConstraint in org.apache.flink.sql.parser
Methods in org.apache.flink.sql.parser that return types with arguments of type SqlTableConstraint Modifier and Type Method Description static 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 SqlTableConstraint Modifier and Type Method Description static voidSqlConstraintValidator. validate(SqlTableConstraint constraint)Check table constraint.Method parameters in org.apache.flink.sql.parser with type arguments of type SqlTableConstraint Modifier and Type Method Description static 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 SqlTableConstraint Modifier and Type Field Description protected List<SqlTableConstraint>SqlAlterTableSchema. constraintsList<SqlTableConstraint>SqlCreateTable.TableCreationContext. constraintsMethods in org.apache.flink.sql.parser.ddl that return SqlTableConstraint Modifier and Type Method Description SqlTableConstraintSqlAlterTableAddConstraint. getConstraint()Methods in org.apache.flink.sql.parser.ddl that return types with arguments of type SqlTableConstraint Modifier and Type Method Description Optional<SqlTableConstraint>SqlTableColumn.SqlRegularColumn. getConstraint()List<SqlTableConstraint>SqlAlterTableSchema. getConstraints()Optional<SqlTableConstraint>SqlAlterTableSchema. getFullConstraint()List<SqlTableConstraint>SqlCreateTable. getFullConstraints()Returns the column constraints plus the table constraints.List<SqlTableConstraint>SqlReplaceTableAs. getFullConstraints()Returns the column constraints plus the table constraints.Optional<SqlTableConstraint>SqlCreateMaterializedTable. getTableConstraint()List<SqlTableConstraint>SqlCreateTable. getTableConstraints()List<SqlTableConstraint>SqlReplaceTableAs. getTableConstraints()Constructors in org.apache.flink.sql.parser.ddl with parameters of type SqlTableConstraint Constructor Description SqlAlterTableAddConstraint(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 SqlTableConstraint Constructor 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, 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)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, 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 SqlTableConstraint Modifier and Type Method Description SqlTableConstraintFlinkSqlParserImpl. ColumnConstraint(org.apache.calcite.sql.SqlIdentifier column)Parses a column constraint for CREATE TABLE.SqlTableConstraintFlinkSqlParserImpl. TableConstraint()Parses a table constraint for CREATE TABLE.
-