Uses of Class
org.h2.constraint.Constraint
Packages that use Constraint
Package
Description
Contains DDL (data definition language) and related SQL statements.
Database constraints such as check constraints, unique constraints, and referential constraints.
Contains high level classes of the database and classes that don't fit in another sub-package.
Schema implementation and objects that are stored in a schema (for example, sequences and constants).
Classes related to a table and table meta data.
-
Uses of Constraint in org.h2.command.ddl
Methods in org.h2.command.ddl with parameters of type ConstraintModifier and TypeMethodDescriptionprivate void
AlterTableAddConstraint.addConstraintToTable
(Database db, Table table, Constraint constraint) -
Uses of Constraint in org.h2.constraint
Subclasses of Constraint in org.h2.constraintModifier and TypeClassDescriptionclass
A check constraint.class
A domain constraint.class
A referential constraint.class
A unique constraint.Methods in org.h2.constraint with parameters of type Constraint -
Uses of Constraint in org.h2.engine
Fields in org.h2.engine with type parameters of type ConstraintModifier and TypeFieldDescriptionprivate HashMap
<String, Constraint> SessionLocal.localTempTableConstraints
Methods in org.h2.engine that return ConstraintModifier and TypeMethodDescriptionSessionLocal.findLocalTempTableConstraint
(String name) Get the local temporary constraint if one exists with that name, or null if not.Methods in org.h2.engine that return types with arguments of type ConstraintModifier and TypeMethodDescriptionSessionLocal.getLocalTempTableConstraints()
Get the map of constraints for all constraints on local, temporary tables, if any.Methods in org.h2.engine with parameters of type ConstraintModifier and TypeMethodDescriptionvoid
SessionLocal.addLocalTempTableConstraint
(Constraint constraint) Add a local temporary constraint to this session.(package private) void
SessionLocal.removeLocalTempTableConstraint
(Constraint constraint) Drop and remove the given local temporary constraint from this session. -
Uses of Constraint in org.h2.schema
Fields in org.h2.schema with type parameters of type ConstraintModifier and TypeFieldDescriptionprivate final ConcurrentHashMap
<String, Constraint> Schema.constraints
Methods in org.h2.schema that return ConstraintModifier and TypeMethodDescriptionSchema.findConstraint
(SessionLocal session, String name) Try to find a constraint with this name.Schema.getConstraint
(String name) Get the constraint with the given name.Methods in org.h2.schema that return types with arguments of type ConstraintMethods in org.h2.schema with parameters of type ConstraintModifier and TypeMethodDescriptionvoid
Domain.removeConstraint
(Constraint constraint) Remove the given constraint from the list. -
Uses of Constraint in org.h2.table
Fields in org.h2.table with type parameters of type ConstraintMethods in org.h2.table that return types with arguments of type ConstraintMethods in org.h2.table with parameters of type ConstraintModifier and TypeMethodDescriptionvoid
Table.addConstraint
(Constraint constraint) Add a constraint to the table.private void
InformationSchemaTable.addConstraintColumnUsage
(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Column column) private void
InformationSchemaTableLegacy.addConstraintColumnUsage
(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Column column) private void
InformationSchemaTable.checkConstraints
(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, String constraintName) private void
InformationSchemaTable.constraintColumnUsage
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog, Constraint constraint) private void
InformationSchemaTable.keyColumnUsage
(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Constraint.Type constraintType, IndexColumn[] indexColumns, Table table, String tableName) void
Table.removeConstraint
(Constraint constraint) Remove the given constraint from the list.private void
InformationSchemaTable.tableConstraints
(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Constraint.Type constraintType, Table table, String tableName)