Uses of Interface
org.jooq.Constraint
-
Uses of Constraint in org.jooq
Modifier and TypeInterfaceDescriptioninterface
The step in theConstraint
construction DSL API that allows for addingENFORCED
andNOT ENFORCED
clauses.interface
Deprecated, for removal: This API element is subject to removal in a future version.- [#11329] - 3.15.0 - This type will be removed in the future.interface
The step in theConstraint
construction DSL API that allows for addingON DELETE
andON UPDATE
clauses.interface
The step in theConstraint
construction DSL API that allows for specifying the constraint type.Modifier and TypeMethodDescriptionCheck.constraint()
Get thisCHECK
as a formalConstraint
specification.@NotNull Constraint
Key.constraint()
Get thisKEY
as a formalConstraint
specification.Modifier and TypeMethodDescription@NotNull AlterDomainFinalStep
AlterDomainStep.add(Constraint addConstraint)
Add theADD
clause to theALTER DOMAIN
statement.@NotNull AlterTableUsingIndexStep
AlterTableStep.add(Constraint constraint)
Add anADD CONSTRAINT
clause to theALTER TABLE
statement.@NotNull AlterTableAlterConstraintStep
AlterTableStep.alter(Constraint constraint)
Add anALTER CONSTRAINT
clause to theALTER TABLE
statement.@NotNull AlterTableAlterConstraintStep
AlterTableStep.alterConstraint(Constraint constraint)
Add anALTER CONSTRAINT
clause to theALTER TABLE
statement.@NotNull CreateTableConstraintStep
CreateTableConstraintStep.constraint(Constraint constraint)
Add a constraint to the table.@NotNull CreateDomainConstraintStep
CreateDomainConstraintStep.constraints(Constraint... constraints)
Add theCONSTRAINTS
clause to theCREATE DOMAIN
statement.@NotNull CreateTableConstraintStep
CreateTableConstraintStep.constraints(Constraint... constraints)
Add constraints to the table.@NotNull AlterTableDropStep
AlterTableStep.drop(Constraint constraint)
Add aDROP CONSTRAINT
clause to theALTER TABLE
statement.@NotNull AlterDomainDropConstraintCascadeStep
AlterDomainStep.dropConstraint(Constraint dropConstraint)
Add theDROP CONSTRAINT
clause to theALTER DOMAIN
statement.@NotNull AlterTableDropStep
AlterTableStep.dropConstraint(Constraint constraint)
Add aDROP CONSTRAINT
clause to theALTER TABLE
statement.@NotNull AlterDomainDropConstraintCascadeStep
AlterDomainStep.dropConstraintIfExists(Constraint dropConstraint)
Add theDROP CONSTRAINT IF EXISTS
clause to theALTER DOMAIN
statement.@NotNull AlterTableDropStep
AlterTableStep.dropConstraintIfExists(Constraint constraint)
Add aDROP CONSTRAINT IF EXISTS
clause to theALTER TABLE
statement.@NotNull AlterTableDropStep
AlterTableStep.dropForeignKey(Constraint constraint)
Add aDROP FOREIGN KEY
clause to theALTER TABLE
statement.@NotNull AlterTableDropStep
AlterTableStep.dropIfExists(Constraint constraint)
Add aDROP CONSTRAINT IF EXISTS
clause to theALTER TABLE
statement.@NotNull AlterTableDropStep
AlterTableStep.dropPrimaryKey(Constraint constraint)
Add aDROP PRIMARY KEY
clause to theALTER TABLE
statement.@NotNull AlterTableDropStep
AlterTableStep.dropUnique(Constraint constraint)
Add aDROP UNIQUE
clause to theALTER TABLE
statement.@NotNull InsertOnConflictDoUpdateStep<R>
InsertOnDuplicateStep.onConflictOnConstraint(Constraint constraint)
Add aON CONFLICT ON CONSTRAINT
clause to this INSERT statement.void
InsertQuery.onConflictOnConstraint(Constraint constraint)
Whether use aON CONFLICT
orON CONFLICT ON CONSTRAINT
clause in thisINSERT
statement.@NotNull AlterDomainRenameConstraintStep
AlterDomainStep.renameConstraint(Constraint renameConstraint)
Add theRENAME CONSTRAINT
clause to theALTER DOMAIN
statement.@NotNull AlterTableRenameConstraintToStep
AlterTableStep.renameConstraint(Constraint oldName)
Add aRENAME CONSTRAINT
clause to theALTER TABLE
statement.@NotNull AlterDomainRenameConstraintStep
AlterDomainStep.renameConstraintIfExists(Constraint renameConstraint)
Add theRENAME CONSTRAINT IF EXISTS
clause to theALTER DOMAIN
statement.@NotNull AlterDomainFinalStep
AlterDomainRenameConstraintStep.to(Constraint renameConstraintTo)
Add theTO
clause to theALTER DOMAIN
statement.AlterTableRenameConstraintToStep.to(Constraint newName)
Specify a new constraint name.Modifier and TypeMethodDescription@NotNull CreateDomainConstraintStep
CreateDomainConstraintStep.constraints(Collection<? extends Constraint> constraints)
Add theCONSTRAINTS
clause to theCREATE DOMAIN
statement.@NotNull CreateTableConstraintStep
CreateTableConstraintStep.constraints(Collection<? extends Constraint> constraints)
Add constraints to the table.