| Package | Description |
|---|---|
| mil.nga.geopackage | |
| mil.nga.geopackage.db.table | |
| mil.nga.geopackage.factory | |
| mil.nga.geopackage.user |
| Modifier and Type | Method and Description |
|---|---|
AttributesTable |
GeoPackageCore.createAttributesTable(String tableName,
List<AttributesColumn> columns,
Collection<Constraint> constraints)
Create a new attributes table and a new Contents
The attributes table will be created with columns.size() columns and must
include an integer id column
|
AttributesTable |
GeoPackageCore.createAttributesTable(String tableName,
String idColumnName,
List<AttributesColumn> additionalColumns,
Collection<Constraint> constraints)
Create a new attributes table and a new Contents
The attributes table will be created with 1 + additionalColumns.size()
columns, an id column with the provided name and the provided additional
columns.
|
AttributesTable |
GeoPackageCore.createAttributesTableWithId(String tableName,
List<AttributesColumn> additionalColumns,
Collection<Constraint> constraints)
Create a new attributes table and a new Contents
The attributes table will be created with 1 + additionalColumns.size()
columns, an id column named "id" and the provided additional columns.
|
| 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
|
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> |
ColumnConstraints.getConstraints()
Get the constraints
|
List<Constraint> |
TableConstraints.getTableConstraints()
Get the table constraints
|
| Modifier and Type | Method and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
void |
TableConstraints.addColumnConstraints(String columnName,
Collection<Constraint> constraints)
Add column constraints
|
void |
ColumnConstraints.addConstraints(Collection<Constraint> constraints)
Add constraints
|
void |
TableConstraints.addTableConstraints(Collection<Constraint> constraints)
Add table constraints
|
| Modifier and Type | Method and Description |
|---|---|
AttributesTable |
GeoPackageCoreImpl.createAttributesTable(String tableName,
List<AttributesColumn> columns,
Collection<Constraint> constraints)
Create a new attributes table and a new Contents
The attributes table will be created with columns.size() columns and must
include an integer id column
|
AttributesTable |
GeoPackageCoreImpl.createAttributesTable(String tableName,
String idColumnName,
List<AttributesColumn> additionalColumns,
Collection<Constraint> constraints)
Create a new attributes table and a new Contents
The attributes table will be created with 1 + additionalColumns.size()
columns, an id column with the provided name and the provided additional
columns.
|
AttributesTable |
GeoPackageCoreImpl.createAttributesTableWithId(String tableName,
List<AttributesColumn> additionalColumns,
Collection<Constraint> constraints)
Create a new attributes table and a new Contents
The attributes table will be created with 1 + additionalColumns.size()
columns, an id column named "id" and the provided additional columns.
|
| Modifier and Type | Method and Description |
|---|---|
List<Constraint> |
UserColumn.clearConstraints()
Clear the constraints
|
List<Constraint> |
UserTable.clearConstraints()
Clear the constraints
|
List<Constraint> |
UserColumn.getConstraints()
Get the constraints
|
List<Constraint> |
UserTable.getConstraints()
Get the constraints
|
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
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserColumn.addConstraints(Collection<Constraint> constraints)
Add constraints
|
void |
UserTable.addConstraints(Collection<Constraint> constraints)
Add constraints
|
Copyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.