| 程序包 | 说明 |
|---|---|
| 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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConstraintCheck
A check constraint.
|
class |
ConstraintReferential
A referential constraint.
|
class |
ConstraintUnique
A unique constraint.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
Constraint.compareTo(Constraint other) |
| 限定符和类型 | 方法和说明 |
|---|---|
Constraint |
Session.findLocalTempTableConstraint(String name)
Get the local temporary constraint if one exists with that name, or
null if not.
|
| 限定符和类型 | 方法和说明 |
|---|---|
HashMap<String,Constraint> |
Session.getLocalTempTableConstraints()
Get the map of constraints for all constraints on local, temporary
tables, if any.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Session.addLocalTempTableConstraint(Constraint constraint)
Add a local temporary constraint to this session.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Constraint |
Schema.findConstraint(Session session,
String name)
Try to find a constraint with this name.
|
Constraint |
Schema.getConstraint(String name)
Get the constraint with the given name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ArrayList<Constraint> |
Table.getConstraints() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Table.addConstraint(Constraint constraint)
Add a constraint to the table.
|
void |
Table.removeConstraint(Constraint constraint)
Remove the given constraint from the list.
|
Copyright © 2017. All rights reserved.