Uses of Interface
org.jooq.Constraint
Packages that use Constraint
Package
Description
This package contains jOOQ's public API.
This package contains jOOQ's implementation classes.
-
Uses of Constraint in org.jooq
Subinterfaces of Constraint in org.jooqModifier 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.Methods in org.jooq that return ConstraintModifier and TypeMethodDescriptionCheck.constraint()
Get thisCHECK
as a formalConstraint
specification.@NotNull Constraint
Key.constraint()
Get thisKEY
as a formalConstraint
specification.Methods in org.jooq with parameters of type ConstraintModifier 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 CreateTableElementListStep
CreateTableElementListStep.constraint
(Constraint constraint) Add theCONSTRAINT
clause to theCREATE TABLE
statement.@NotNull CreateDomainConstraintStep
CreateDomainConstraintStep.constraints
(Constraint... constraints) Add theCONSTRAINTS
clause to theCREATE DOMAIN
statement.@NotNull CreateTableElementListStep
CreateTableElementListStep.constraints
(Constraint... constraints) Add theCONSTRAINTS
clause to theCREATE TABLE
statement.@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.@NotNull AlterTableFinalStep
AlterTableRenameConstraintToStep.to
(Constraint newName) Specify a new constraint name.Method parameters in org.jooq with type arguments of type ConstraintModifier and TypeMethodDescription@NotNull CreateDomainConstraintStep
CreateDomainConstraintStep.constraints
(Collection<? extends Constraint> constraints) Add theCONSTRAINTS
clause to theCREATE DOMAIN
statement.@NotNull CreateTableElementListStep
CreateTableElementListStep.constraints
(Collection<? extends Constraint> constraints) Add theCONSTRAINTS
clause to theCREATE TABLE
statement. -
Uses of Constraint in org.jooq.impl
Subinterfaces of Constraint in org.jooq.implModifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
static interface
Methods in org.jooq.impl that return ConstraintModifier and TypeMethodDescription@Nullable Constraint
QOM.AlterDomain.$addConstraint()
@Nullable Constraint
QOM.AlterDomain.$dropConstraint()
@NotNull Constraint
QOM.ForeignKey.$references()
@Nullable Constraint
QOM.AlterDomain.$renameConstraint()
@Nullable Constraint
QOM.AlterDomain.$renameConstraintTo()
Methods in org.jooq.impl that return types with arguments of type ConstraintModifier and TypeMethodDescription@NotNull QOM.UnmodifiableList<? extends Constraint>
QOM.CreateDomain.$constraints()
Methods in org.jooq.impl with parameters of type ConstraintModifier and TypeMethodDescription@NotNull QOM.AlterDomain<T>
QOM.AlterDomain.$addConstraint
(Constraint addConstraint) @NotNull QOM.AlterDomain<T>
QOM.AlterDomain.$dropConstraint
(Constraint dropConstraint) @NotNull QOM.AlterDomain<T>
QOM.AlterDomain.$renameConstraint
(Constraint renameConstraint) @NotNull QOM.AlterDomain<T>
QOM.AlterDomain.$renameConstraintTo
(Constraint renameConstraintTo) Method parameters in org.jooq.impl with type arguments of type ConstraintModifier and TypeMethodDescription@NotNull QOM.CreateDomain<T>
QOM.CreateDomain.$constraints
(Collection<? extends Constraint> constraints)