public class GeoPkgSchemaExtension extends GeoPkgExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoPkgSchemaExtension.Factory |
GeoPkgExtension.Association, GeoPkgExtension.Scopedefinition, geoPackage, name, scope| Constructor and Description |
|---|
GeoPkgSchemaExtension(GeoPackage geoPackage) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstraint(Connection cx,
DataColumnConstraint constraint) |
void |
addDataColumn(String tableName,
DataColumn dataColumn) |
DataColumnConstraint |
getConstraint(String contraintName)
Returns the constraint by name, or sets to null if missing
|
List<DataColumn> |
getDataColumns(String tableName) |
getAssociations, getConnection, getDefinition, getGeneratedKey, getName, getScope, isRegistered, isRegisteredpublic GeoPkgSchemaExtension(GeoPackage geoPackage)
public List<DataColumn> getDataColumns(String tableName) throws IOException
IOExceptionpublic DataColumnConstraint getConstraint(String contraintName) throws IOException
contraintName - IOExceptionpublic void addDataColumn(String tableName, DataColumn dataColumn) throws IOException
IOExceptionpublic void addConstraint(Connection cx, DataColumnConstraint constraint) throws SQLException
SQLExceptionCopyright © 1996–2021 Geotools. All rights reserved.