Class TableChange.AddUniqueConstraint

java.lang.Object
org.apache.flink.table.catalog.TableChange.AddUniqueConstraint
All Implemented Interfaces:
TableChange, TableChange.CatalogTableChange
Enclosing interface:
TableChange

@PublicEvolving public static class TableChange.AddUniqueConstraint extends Object implements TableChange.CatalogTableChange
A table change to add a unique constraint.

It is equal to the following statement:

    ALTER TABLE <table_name> ADD PRIMARY KEY (<column_name>...) NOT ENFORCED;