Uses of Class
com.gengoai.sql.constraint.Constraint
-
Packages that use Constraint Package Description com.gengoai.sql com.gengoai.sql.constraint com.gengoai.sql.object -
-
Uses of Constraint in com.gengoai.sql
Methods in com.gengoai.sql that return types with arguments of type Constraint Modifier and Type Method Description List<Constraint>
SQLProber. getConstraints(@NonNull Table table)
Gets the table constraints for a given tableList<Constraint>
SQLProber. getConstraints(@NonNull String table)
Gets the table constraints for a given tableMethods in com.gengoai.sql with parameters of type Constraint Modifier and Type Method Description protected void
SQLDialect. defineConstraint(Constraint constraint, boolean isTableConstraint, StringBuilder builder)
Define constraint. -
Uses of Constraint in com.gengoai.sql.constraint
Subclasses of Constraint in com.gengoai.sql.constraint Modifier and Type Class Description class
CheckConstraint
class
ConstraintWithConflictClause<T extends ConstraintWithConflictClause<T>>
class
ForeignKeyConstraint
class
NotNullConstraint
class
PrimaryKeyConstraint
class
UniqueConstraint
-
Uses of Constraint in com.gengoai.sql.object
Methods in com.gengoai.sql.object that return types with arguments of type Constraint Modifier and Type Method Description List<Constraint>
Column. getConstraints()
Gets an unmodifiable view of the constraints on the column.Methods in com.gengoai.sql.object with parameters of type Constraint Modifier and Type Method Description AlterTable
Table. addConstraint(@NonNull Constraint constraint)
Adds the givenConstraint
to the table definition generating anAlterTable
statement to perform on the database.Method parameters in com.gengoai.sql.object with type arguments of type Constraint Modifier and Type Method Description boolean
Column. hasConstraintOfType(@NonNull Class<? extends Constraint> constraintClass)
Checks if a constraint of the give type is on the columnConstructor parameters in com.gengoai.sql.object with type arguments of type Constraint Constructor Description Column(String name, String type, @NonNull Collection<Constraint> constraints)
Instantiates a new Column.
-