Package org.geotools.geopkg
Class GeoPkgSchemaExtension
Object
GeoPkgExtension
GeoPkgSchemaExtension
The geopackage schema extension, allowing to declare more information about columns and eventually express
constraints on them
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class GeoPkgExtension
GeoPkgExtension.Association, GeoPkgExtension.Scope
-
Field Summary
Fields inherited from class GeoPkgExtension
definition, geoPackage, name, scope
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraint
(Connection cx, DataColumnConstraint constraint) void
addConstraint
(DataColumnConstraint constraint) void
addDataColumn
(String tableName, DataColumn dataColumn) getConstraint
(String contraintName) Returns the constraint by name, or sets to null if missinggetDataColumns
(String tableName) Methods inherited from class GeoPkgExtension
getAssociations, getConnection, getDefinition, getGeneratedKey, getName, getScope, isRegistered, isRegistered
-
Constructor Details
-
GeoPkgSchemaExtension
-
-
Method Details
-
getDataColumns
- Throws:
IOException
-
getConstraint
Returns the constraint by name, or sets to null if missing- Parameters:
contraintName
-- Returns:
- Throws:
IOException
-
addDataColumn
- Throws:
IOException
-
addConstraint
- Throws:
SQLException
-
addConstraint
- Throws:
SQLException
-