Uses of Class
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.model.UniqueConstraint
Packages that use UniqueConstraint
Package
Description
Contains the algorithm for comparing two database models and determining
what needs to be changed to migrate one to the other.
This package contains the classes making up the database model.
This package contains the platform implementations for the individual databases.
-
Uses of UniqueConstraint in edu.internet2.middleware.grouper.ddl
Methods in edu.internet2.middleware.grouper.ddl that return UniqueConstraintModifier and TypeMethodDescriptionstatic UniqueConstraintGrouperDdlUtils.ddlutilsFindOrCreateUniqueConstraint(Database database, String tableName, String uniqueConstraintName, String usingIndexName, String... columnNames) Add a unique CONSTRAINT (not a unique index) on a table in the expected model. -
Uses of UniqueConstraint in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration that return UniqueConstraintModifier and TypeMethodDescriptionAddUniqueConstraintChange.getNewUniqueConstraint()Returns the new unique constraint.RemoveUniqueConstraintChange.getUniqueConstraint()Returns the unique constraint.Constructors in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration with parameters of type UniqueConstraintModifierConstructorDescriptionAddUniqueConstraintChange(Table table, UniqueConstraint newUniqueConstraint) Creates a new change object.RemoveUniqueConstraintChange(Table table, UniqueConstraint uniqueConstraint) Creates a new change object. -
Uses of UniqueConstraint in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.model
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.model that return UniqueConstraintModifier and TypeMethodDescriptionTable.findUniqueConstraint(String name) Finds the unique constraint with the specified name, using case insensitive matching.Table.findUniqueConstraint(String name, boolean caseSensitive) Finds the unique constraint with the specified name.Table.getUniqueConstraint(int idx) Returns the unique constraint at the specified position.Table.getUniqueConstraints()Returns the unique constraints of this table.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.model with parameters of type UniqueConstraintModifier and TypeMethodDescriptionvoidTable.addUniqueConstraint(UniqueConstraint uniqueConstraint) Adds the given unique constraint.booleanUniqueConstraint.equalsIgnoreCase(UniqueConstraint other) Compares this constraint to another, ignoring the case of the name.voidTable.removeUniqueConstraint(UniqueConstraint uniqueConstraint) Removes the given unique constraint. -
Uses of UniqueConstraint in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform with parameters of type UniqueConstraintModifier and TypeMethodDescriptionSqlBuilder.getUniqueConstraintName(UniqueConstraint uniqueConstraint) Returns the unique constraint name.protected voidSqlBuilder.writeExternalUniqueConstraintCreateStmt(Table table, UniqueConstraint uniqueConstraint) Writes a single unique constraint of the table as anALTER TABLE ...voidSqlBuilder.writeExternalUniqueConstraintDropStmt(Table table, UniqueConstraint uniqueConstraint) Writes the statement to drop a unique constraint.