Uses of Class
org.h2.constraint.Constraint
-
Packages that use Constraint Package Description org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.constraint Database constraints such as check constraints, unique constraints, and referential constraints.org.h2.engine Contains high level classes of the database and classes that don't fit in another sub-package.org.h2.schema Schema implementation and objects that are stored in a schema (for example, sequences and constants).org.h2.table 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 Constraint Modifier and Type Method Description private void
AlterTableAddConstraint. addConstraintToTable(Database db, Table table, Constraint constraint)
-
Uses of Constraint in org.h2.constraint
Subclasses of Constraint in org.h2.constraint Modifier and Type Class Description class
ConstraintCheck
A check constraint.class
ConstraintDomain
A domain constraint.class
ConstraintReferential
A referential constraint.class
ConstraintUnique
A unique constraint.Methods in org.h2.constraint with parameters of type Constraint Modifier and Type Method Description int
Constraint. compareTo(Constraint other)
-
Uses of Constraint in org.h2.engine
Fields in org.h2.engine with type parameters of type Constraint Modifier and Type Field Description private java.util.HashMap<java.lang.String,Constraint>
SessionLocal. localTempTableConstraints
Methods in org.h2.engine that return Constraint Modifier and Type Method Description Constraint
SessionLocal. findLocalTempTableConstraint(java.lang.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 Constraint Modifier and Type Method Description java.util.HashMap<java.lang.String,Constraint>
SessionLocal. getLocalTempTableConstraints()
Get the map of constraints for all constraints on local, temporary tables, if any.Methods in org.h2.engine with parameters of type Constraint Modifier and Type Method Description void
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 Constraint Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<java.lang.String,Constraint>
Schema. constraints
Methods in org.h2.schema that return Constraint Modifier and Type Method Description Constraint
Schema. findConstraint(SessionLocal session, java.lang.String name)
Try to find a constraint with this name.Constraint
Schema. getConstraint(java.lang.String name)
Get the constraint with the given name.Methods in org.h2.schema that return types with arguments of type Constraint Modifier and Type Method Description java.util.Collection<Constraint>
Schema. getAllConstraints()
Methods in org.h2.schema with parameters of type Constraint Modifier and Type Method Description void
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 Constraint Modifier and Type Field Description private java.util.ArrayList<Constraint>
Table. constraints
Methods in org.h2.table that return types with arguments of type Constraint Modifier and Type Method Description java.util.ArrayList<Constraint>
Table. getConstraints()
Methods in org.h2.table with parameters of type Constraint Modifier and Type Method Description void
Table. addConstraint(Constraint constraint)
Add a constraint to the table.private void
InformationSchemaTable. addConstraintColumnUsage(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint, Column column)
private void
InformationSchemaTableLegacy. addConstraintColumnUsage(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint, Column column)
private void
InformationSchemaTable. checkConstraints(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint, java.lang.String constraintName)
private void
InformationSchemaTable. constraintColumnUsage(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint)
private void
InformationSchemaTable. keyColumnUsage(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint, Constraint.Type constraintType, IndexColumn[] indexColumns, Table table, java.lang.String tableName)
void
Table. removeConstraint(Constraint constraint)
Remove the given constraint from the list.private void
InformationSchemaTable. tableConstraints(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint, Constraint.Type constraintType, Table table, java.lang.String tableName)
-