Class TableChange.AddUniqueConstraint

  • All Implemented Interfaces:
    TableChange
    Enclosing interface:
    TableChange

    @PublicEvolving
    public static class TableChange.AddUniqueConstraint
    extends Object
    implements TableChange
    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;