Package | Description |
---|---|
org.h2.constraint | |
org.h2.engine | |
org.h2.schema | |
org.h2.table |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintCheck
A check constraint.
|
class |
ConstraintReferential
A referential constraint.
|
class |
ConstraintUnique
A unique constraint.
|
Modifier and Type | Method and Description |
---|---|
int |
Constraint.compareTo(Constraint other) |
Modifier and Type | Method and Description |
---|---|
Constraint |
Session.findLocalTempTableConstraint(String name)
Get the local temporary constraint if one exists with that name, or
null if not.
|
Modifier and Type | Method and Description |
---|---|
HashMap<String,Constraint> |
Session.getLocalTempTableConstraints()
Get the map of constraints for all constraints on local, temporary
tables, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.addLocalTempTableConstraint(Constraint constraint)
Add a local temporary constraint to this session.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Constraint> |
Table.getConstraints() |
Modifier and Type | Method and Description |
---|---|
void |
Table.addConstraint(Constraint constraint)
Add a constraint to the table.
|
void |
Table.removeConstraint(Constraint constraint)
Remove the given constraint from the list.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.