public class GeoPkgSchemaExtension extends GeoPkgExtension
Modifier and Type | Class and Description |
---|---|
static class |
GeoPkgSchemaExtension.Factory |
GeoPkgExtension.Association, GeoPkgExtension.Scope
definition, geoPackage, name, scope
Constructor and Description |
---|
GeoPkgSchemaExtension(GeoPackage geoPackage) |
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(Connection cx,
DataColumnConstraint constraint) |
void |
addConstraint(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, isRegistered
public GeoPkgSchemaExtension(GeoPackage geoPackage)
public List<DataColumn> getDataColumns(String tableName) throws IOException
IOException
public DataColumnConstraint getConstraint(String contraintName) throws IOException
contraintName
- IOException
public void addDataColumn(String tableName, DataColumn dataColumn) throws IOException
IOException
public void addConstraint(DataColumnConstraint constraint) throws SQLException
SQLException
public void addConstraint(Connection cx, DataColumnConstraint constraint) throws SQLException
SQLException
Copyright © 1996–2022 Geotools. All rights reserved.