Uses of Interface
org.jooq.Constraint
Packages that use Constraint
-
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 CreateTableConstraintStepCreateTableConstraintStep.constraint(Constraint constraint)Add a constraint to the table.@NotNull CreateDomainConstraintStepCreateDomainConstraintStep.constraints(Constraint... constraints)Add theCONSTRAINTSclause to theCREATE DOMAINstatement.@NotNull CreateTableConstraintStepCreateTableConstraintStep.constraints(Constraint... constraints)Add constraints to the table.@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.AlterTableRenameConstraintToStep.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 CreateTableConstraintStepCreateTableConstraintStep.constraints(Collection<? extends Constraint> constraints)Add constraints to the table.