| Package | Description |
|---|---|
| mil.nga.geopackage.db.table | |
| mil.nga.geopackage.user |
| Modifier and Type | Class and Description |
|---|---|
class |
RawConstraint
Table raw or unparsed constraint
|
class |
UniqueConstraint
Table unique constraint for one or more columns
|
| Modifier and Type | Method and Description |
|---|---|
abstract Constraint |
Constraint.copy()
Copy the constraint
|
Constraint |
RawConstraint.copy()
Copy the constraint
|
Constraint |
Constraints.get(int index)
Get the constraint at the index
|
static Constraint |
ConstraintParser.getColumnConstraint(String constraintSql)
Attempt to get a column constraint by parsing the SQL statement
|
Constraint |
TableConstraints.getColumnConstraint(String columnName,
int index)
Get the column constraint at the index
|
Constraint |
ColumnConstraints.getConstraint(int index)
Get the constraint at the index
|
static Constraint |
ConstraintParser.getConstraint(String constraintSql)
Attempt to get a constraint by parsing the SQL statement
|
Constraint |
TableConstraints.getTableConstraint(int index)
Get the table constraint at the index
|
static Constraint |
ConstraintParser.getTableConstraint(String constraintSql)
Attempt to get a table constraint by parsing the SQL statement
|
| Modifier and Type | Method and Description |
|---|---|
List<Constraint> |
Constraints.all()
Get the constraints
|
List<Constraint> |
Constraints.clear()
Clear the constraints
|
List<Constraint> |
Constraints.clear(ConstraintType type)
Clear the constraints of the provided type
|
List<Constraint> |
Constraints.get(ConstraintType type)
Get the constraints of the provided type
|
| Modifier and Type | Method and Description |
|---|---|
void |
Constraints.add(Constraint constraint)
Add constraint
|
void |
TableConstraints.addColumnConstraint(String columnName,
Constraint constraint)
Add a column constraint
|
void |
ColumnConstraints.addConstraint(Constraint constraint)
Add a constraint
|
void |
TableConstraints.addTableConstraint(Constraint constraint)
Add a table constraint
|
int |
Constraint.compareTo(Constraint constraint) |
| Modifier and Type | Method and Description |
|---|---|
void |
Constraints.add(Collection<Constraint> constraints)
Add constraints
|
void |
TableConstraints.addColumnConstraints(String columnName,
Collection<Constraint> constraints)
Add column constraints
|
void |
ColumnConstraints.addConstraints(Collection<Constraint> constraints)
Add constraints
|
| Modifier and Type | Method and Description |
|---|---|
List<Constraint> |
UserColumn.clearConstraints()
Clear the constraints
|
List<Constraint> |
UserTable.clearConstraints()
Clear the constraints
|
List<Constraint> |
UserColumn.clearConstraints(boolean reset)
Clear the constraints
|
List<Constraint> |
UserColumn.clearConstraints(ConstraintType type)
Clear the constraints of the provided type
|
List<Constraint> |
UserTable.clearConstraints(ConstraintType type)
Clear the constraints of the provided type
|
List<Constraint> |
UserColumn.getConstraints(ConstraintType type)
Get the constraints of the provided type
|
List<Constraint> |
UserTable.getConstraints(ConstraintType type)
Get the constraints of the provided type
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserColumn.addConstraint(Constraint constraint)
Add a constraint
|
void |
UserTable.addConstraint(Constraint constraint)
Add constraint
|
String |
UserColumn.buildConstraintSql(Constraint constraint)
Build the SQL for the constraint
|
void |
UserColumn.setConstraintOrder(Constraint constraint)
Set the constraint order by constraint type
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserColumn.addConstraints(Collection<Constraint> constraints)
Add constraints
|
void |
UserTable.addConstraints(Collection<Constraint> constraints)
Add constraints
|
Copyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.