Uses of Interface
org.jooq.Constraint
Package
Description
This package contains jOOQ's public API.
This package contains jOOQ's implementation classes.
-
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 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.Modifier 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
Modifier and TypeInterfaceDescriptionstatic interface
ACHECK
constraint.static interface
AFOREIGN KEY
constraint.static interface
APRIMARY KEY
constraint.static interface
AUNIQUE
constraint.Modifier and TypeMethodDescription@Nullable Constraint
QOM.AlterDomain.$addConstraint()
@Nullable Constraint
QOM.AlterDomain.$dropConstraint()
@NotNull Constraint
QOM.Check.$enforced
(boolean newEnforced) @NotNull Constraint
QOM.ForeignKey.$enforced
(boolean newEnforced) @NotNull Constraint
QOM.PrimaryKey.$enforced
(boolean newEnforced) @NotNull Constraint
QOM.UniqueKey.$enforced
(boolean newEnforced) @NotNull Constraint
@NotNull Constraint
@NotNull Constraint
@NotNull Constraint
@Nullable Constraint
QOM.AlterDomain.$renameConstraint()
@Nullable Constraint
QOM.AlterDomain.$renameConstraintTo()
Modifier and TypeMethodDescription@NotNull QOM.UnmodifiableList
<? extends Constraint> QOM.CreateDomain.$constraints()
Modifier 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) Modifier and TypeMethodDescription@NotNull QOM.CreateDomain
<T> QOM.CreateDomain.$constraints
(Collection<? extends Constraint> constraints)