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 TypeInterfaceDescriptioninterfaceThe step in theConstraintconstruction DSL API that allows for addingENFORCEDandNOT ENFORCEDclauses.interfaceDeprecated, 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.interfaceThe step in theConstraintconstruction DSL API that allows for addingON DELETEandON UPDATEclauses.interfaceThe step in theConstraintconstruction DSL API that allows for specifying the constraint type.Methods in org.jooq that return ConstraintModifier and TypeMethodDescriptionCheck.constraint()Get thisCHECKas a formalConstraintspecification.@NotNull ConstraintKey.constraint()Get thisKEYas a formalConstraintspecification.Methods in org.jooq with parameters of type ConstraintModifier and TypeMethodDescription@NotNull AlterDomainFinalStepAlterDomainStep.add(Constraint addConstraint) Add theADDclause to theALTER DOMAINstatement.@NotNull AlterTableUsingIndexStepAlterTableStep.add(Constraint constraint) Add anADD CONSTRAINTclause to theALTER TABLEstatement.@NotNull AlterTableAlterConstraintStepAlterTableStep.alter(Constraint constraint) Add anALTER CONSTRAINTclause to theALTER TABLEstatement.@NotNull AlterTableAlterConstraintStepAlterTableStep.alterConstraint(Constraint constraint) Add anALTER CONSTRAINTclause to theALTER TABLEstatement.@NotNull CreateTableElementListStepCreateTableElementListStep.constraint(Constraint constraint) Add theCONSTRAINTclause to theCREATE TABLEstatement.@NotNull CreateDomainConstraintStepCreateDomainConstraintStep.constraints(Constraint... constraints) Add theCONSTRAINTSclause to theCREATE DOMAINstatement.@NotNull CreateTableElementListStepCreateTableElementListStep.constraints(Constraint... constraints) Add theCONSTRAINTSclause to theCREATE TABLEstatement.@NotNull AlterTableDropStepAlterTableStep.drop(Constraint constraint) Add aDROP CONSTRAINTclause to theALTER TABLEstatement.@NotNull AlterDomainDropConstraintCascadeStepAlterDomainStep.dropConstraint(Constraint dropConstraint) Add theDROP CONSTRAINTclause to theALTER DOMAINstatement.@NotNull AlterTableDropStepAlterTableStep.dropConstraint(Constraint constraint) Add aDROP CONSTRAINTclause to theALTER TABLEstatement.@NotNull AlterDomainDropConstraintCascadeStepAlterDomainStep.dropConstraintIfExists(Constraint dropConstraint) Add theDROP CONSTRAINT IF EXISTSclause to theALTER DOMAINstatement.@NotNull AlterTableDropStepAlterTableStep.dropConstraintIfExists(Constraint constraint) Add aDROP CONSTRAINT IF EXISTSclause to theALTER TABLEstatement.@NotNull AlterTableDropStepAlterTableStep.dropForeignKey(Constraint constraint) Add aDROP FOREIGN KEYclause to theALTER TABLEstatement.@NotNull AlterTableDropStepAlterTableStep.dropIfExists(Constraint constraint) Add aDROP CONSTRAINT IF EXISTSclause to theALTER TABLEstatement.@NotNull AlterTableDropStepAlterTableStep.dropPrimaryKey(Constraint constraint) Add aDROP PRIMARY KEYclause to theALTER TABLEstatement.@NotNull AlterTableDropStepAlterTableStep.dropUnique(Constraint constraint) Add aDROP UNIQUEclause to theALTER TABLEstatement.@NotNull InsertOnConflictDoUpdateStep<R>InsertOnDuplicateStep.onConflictOnConstraint(Constraint constraint) Add aON CONFLICT ON CONSTRAINTclause to this INSERT statement.voidInsertQuery.onConflictOnConstraint(Constraint constraint) Whether use aON CONFLICTorON CONFLICT ON CONSTRAINTclause in thisINSERTstatement.@NotNull AlterDomainRenameConstraintStepAlterDomainStep.renameConstraint(Constraint renameConstraint) Add theRENAME CONSTRAINTclause to theALTER DOMAINstatement.@NotNull AlterTableRenameConstraintToStepAlterTableStep.renameConstraint(Constraint oldName) Add aRENAME CONSTRAINTclause to theALTER TABLEstatement.@NotNull AlterDomainRenameConstraintStepAlterDomainStep.renameConstraintIfExists(Constraint renameConstraint) Add theRENAME CONSTRAINT IF EXISTSclause to theALTER DOMAINstatement.@NotNull AlterDomainFinalStepAlterDomainRenameConstraintStep.to(Constraint renameConstraintTo) Add theTOclause to theALTER DOMAINstatement.@NotNull AlterTableFinalStepAlterTableRenameConstraintToStep.to(Constraint newName) Specify a new constraint name.Method parameters in org.jooq with type arguments of type ConstraintModifier and TypeMethodDescription@NotNull CreateDomainConstraintStepCreateDomainConstraintStep.constraints(Collection<? extends Constraint> constraints) Add theCONSTRAINTSclause to theCREATE DOMAINstatement.@NotNull CreateTableElementListStepCreateTableElementListStep.constraints(Collection<? extends Constraint> constraints) Add theCONSTRAINTSclause to theCREATE TABLEstatement. -
Uses of Constraint in org.jooq.impl
Subinterfaces of Constraint in org.jooq.implModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interfacestatic interfaceMethods in org.jooq.impl that return ConstraintModifier and TypeMethodDescription@Nullable ConstraintQOM.AlterDomain.$addConstraint()@Nullable ConstraintQOM.AlterDomain.$dropConstraint()@NotNull ConstraintQOM.ForeignKey.$references()@Nullable ConstraintQOM.AlterDomain.$renameConstraint()@Nullable ConstraintQOM.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)