| Package | Description |
|---|---|
| mil.nga.geopackage.db.table | |
| mil.nga.geopackage.user |
| Modifier and Type | Field and Description |
|---|---|
static Set<ConstraintType> |
ConstraintType.COLUMN_CONSTRAINTS
Column constraints
|
static Set<ConstraintType> |
ConstraintType.TABLE_CONSTRAINTS
Table constraints
|
| Modifier and Type | Method and Description |
|---|---|
static ConstraintType |
ConstraintType.getColumnType(String value)
Get a matching column constraint type from the value
|
static ConstraintType |
ConstraintParser.getColumnType(String constraintSql)
Get the column constraint type of the constraint SQL
|
static ConstraintType |
ConstraintType.getTableType(String value)
Get a matching table constraint type from the value
|
static ConstraintType |
ConstraintParser.getTableType(String constraintSql)
Get the table constraint type of the constraint SQL
|
ConstraintType |
Constraint.getType()
Get the constraint type
|
static ConstraintType |
ConstraintType.getType(String value)
Get a matching constraint type from the value
|
static ConstraintType |
ConstraintParser.getType(String constraintSql)
Get the constraint type of the constraint SQL
|
static ConstraintType |
ConstraintType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintType[] |
ConstraintType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ConstraintParser.isColumnType(ConstraintType type,
String constraintSql)
Determine if the column constraint SQL is the constraint type
|
static boolean |
ConstraintParser.isTableType(ConstraintType type,
String constraintSql)
Determine if the table constraint SQL is the constraint type
|
static boolean |
ConstraintParser.isType(ConstraintType type,
String constraintSql)
Determine if the constraint SQL is the constraint type
|
void |
Constraint.setType(ConstraintType type)
Set the constraint type
|
| Constructor and Description |
|---|
Constraint(ConstraintType type)
Constructor
|
Constraint(ConstraintType type,
String name)
Constructor
|
RawConstraint(ConstraintType type,
String sql)
Constructor
|
RawConstraint(ConstraintType type,
String name,
String sql)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<Constraint> |
UserTable.getConstraints(ConstraintType type)
Get the constraints of the provided type
|
Copyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.