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 voidAlterTableAddConstraint.addConstraintToTable(Database db, Table table, Constraint constraint) -
Uses of Constraint in org.h2.constraint
Subclasses of Constraint in org.h2.constraintModifier and TypeClassDescriptionclassA check constraint.classA domain constraint.classA referential constraint.classA unique constraint.Classes in org.h2.constraint that implement interfaces with type arguments of type ConstraintMethods 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.localTempTableConstraintsMethods 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 TypeMethodDescriptionvoidSessionLocal.addLocalTempTableConstraint(Constraint constraint) Add a local temporary constraint to this session.(package private) voidSessionLocal.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.constraintsMethods 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 TypeMethodDescriptionvoidDomain.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 TypeMethodDescriptionvoidTable.addConstraint(Constraint constraint) Add a constraint to the table.private voidInformationSchemaTable.addConstraintColumnUsage(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Column column) private voidInformationSchemaTableLegacy.addConstraintColumnUsage(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Column column) private voidInformationSchemaTable.checkConstraints(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, String constraintName) private voidInformationSchemaTable.constraintColumnUsage(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog, Constraint constraint) private voidInformationSchemaTable.keyColumnUsage(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Constraint.Type constraintType, IndexColumn[] indexColumns, Table table, String tableName) voidTable.removeConstraint(Constraint constraint) Remove the given constraint from the list.private voidInformationSchemaTable.tableConstraints(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Constraint.Type constraintType, Table table, String tableName)