public interface GeoPackageCore extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the GeoPackage connection
|
<T,S extends BaseDaoImpl<T,?>> |
createDao(Class<T> type)
Create a dao
|
boolean |
createDataColumnConstraintsTable()
Create the Data Column Constraints table if it does not already exist
|
boolean |
createDataColumnsTable()
Create the Data Columns table if it does not already exist
|
boolean |
createExtensionsTable()
Create the Extensions table if it does not already exist
|
void |
createFeatureTable(FeatureTable table)
Create a new feature table
|
GeometryColumns |
createFeatureTableWithMetadata(GeometryColumns geometryColumns,
BoundingBox boundingBox,
long srsId)
Create a new feature table with GeoPackage metadata.
|
GeometryColumns |
createFeatureTableWithMetadata(GeometryColumns geometryColumns,
BoundingBox boundingBox,
long srsId,
List<FeatureColumn> columns)
Create a new feature table with GeoPackage metadata.
|
GeometryColumns |
createFeatureTableWithMetadata(GeometryColumns geometryColumns,
List<FeatureColumn> additionalColumns,
BoundingBox boundingBox,
long srsId)
Create a new feature table with GeoPackage metadata.
|
GeometryColumns |
createFeatureTableWithMetadata(GeometryColumns geometryColumns,
String idColumnName,
BoundingBox boundingBox,
long srsId)
Create a new feature table with GeoPackage metadata.
|
GeometryColumns |
createFeatureTableWithMetadata(GeometryColumns geometryColumns,
String idColumnName,
List<FeatureColumn> additionalColumns,
BoundingBox boundingBox,
long srsId)
Create a new feature table with GeoPackage metadata.
|
boolean |
createFeatureTileLinkTable()
Create the Feature Tile Link Table if it does not exist
|
boolean |
createGeometryColumnsTable()
Create the Geometry Columns table if it does not already exist
|
boolean |
createGeometryIndexTable()
Create Geometry Index Table if it does not exist
|
boolean |
createMetadataReferenceTable()
Create the Metadata Reference table if it does not already exist
|
boolean |
createMetadataTable()
Create the Metadata table if it does not already exist
|
boolean |
createTableIndexTable()
Create the Table Index Table if it does not exist
|
boolean |
createTileMatrixSetTable()
Create the Tile Matrix Set table if it does not already exist
|
boolean |
createTileMatrixTable()
Create the Tile Matrix table if it does not already exist
|
void |
createTileTable(TileTable table)
Create a new tile table
|
TileMatrixSet |
createTileTableWithMetadata(String tableName,
BoundingBox contentsBoundingBox,
long contentsSrsId,
BoundingBox tileMatrixSetBoundingBox,
long tileMatrixSetSrsId)
Create a new tile table and the GeoPackage metadata
|
void |
deleteTable(String table)
Delete the user table (a feature or tile table) and all GeoPackage
metadata
|
void |
deleteTableQuietly(String tableName)
Attempt to delete the user table (a feature or tile table) and all
GeoPackage metadata quietly
|
void |
dropTable(String table)
Drop the table if it exists.
|
void |
execSQL(String sql)
Execute the sql on the GeoPackage database
|
ContentsDao |
getContentsDao()
Get a Contents DAO
|
GeoPackageCoreConnection |
getDatabase()
Get the SQLite database
|
DataColumnConstraintsDao |
getDataColumnConstraintsDao()
Get a Data Column Constraints DAO
|
DataColumnsDao |
getDataColumnsDao()
Get a Data Columns DAO
|
ExtensionsDao |
getExtensionsDao()
Get an Extensions DAO
|
List<String> |
getFeatureTables()
Get the feature tables
|
FeatureTileLinkDao |
getFeatureTileLinkDao()
Get a Feature Tile Link DAO
|
GeometryColumnsDao |
getGeometryColumnsDao()
Get a Geometry Columns DAO
|
GeometryColumnsSfSqlDao |
getGeometryColumnsSfSqlDao()
Get a SF/SQL Geometry Columns DAO
|
GeometryColumnsSqlMmDao |
getGeometryColumnsSqlMmDao()
Get a SQL/MM Geometry Columns DAO
|
GeometryIndexDao |
getGeometryIndexDao()
Get a Geometry Index DAO
|
MetadataDao |
getMetadataDao()
Get a Metadata DAO
|
MetadataReferenceDao |
getMetadataReferenceDao()
Get a Metadata Reference DAO
|
String |
getName()
Get the GeoPackage name
|
String |
getPath()
Get the GeoPackage path
|
SpatialReferenceSystemDao |
getSpatialReferenceSystemDao()
Get a Spatial Reference System DAO
|
SpatialReferenceSystemSfSqlDao |
getSpatialReferenceSystemSfSqlDao()
Get a SF/SQL Spatial Reference System DAO
|
SpatialReferenceSystemSqlMmDao |
getSpatialReferenceSystemSqlMmDao()
Get a SQL/MM Spatial Reference System DAO
|
TableIndexDao |
getTableIndexDao()
Get a Table Index DAO
|
TileMatrixDao |
getTileMatrixDao()
Get a Tile Matrix DAO
|
TileMatrixSetDao |
getTileMatrixSetDao()
Get a Tile Matrix Set DAO
|
List<String> |
getTileTables()
Get the tile tables
|
boolean |
isWritable()
Is the GeoPackage writable
|
void |
verifyWritable()
Verify the GeoPackage is writable and throw an exception if it is not
|
void close()
close in interface AutoCloseableclose in interface CloseableString getName()
String getPath()
GeoPackageCoreConnection getDatabase()
boolean isWritable()
SpatialReferenceSystemDao getSpatialReferenceSystemDao()
SpatialReferenceSystemSqlMmDao getSpatialReferenceSystemSqlMmDao()
SpatialReferenceSystemSfSqlDao getSpatialReferenceSystemSfSqlDao()
ContentsDao getContentsDao()
GeometryColumnsDao getGeometryColumnsDao()
GeometryColumnsSqlMmDao getGeometryColumnsSqlMmDao()
GeometryColumnsSfSqlDao getGeometryColumnsSfSqlDao()
boolean createGeometryColumnsTable()
void createFeatureTable(FeatureTable table)
table - GeometryColumns createFeatureTableWithMetadata(GeometryColumns geometryColumns, BoundingBox boundingBox, long srsId)
GeometryColumns.getColumnName().geometryColumns - geometry columns to createboundingBox - contents bounding boxsrsId - spatial reference system idGeometryColumns createFeatureTableWithMetadata(GeometryColumns geometryColumns, String idColumnName, BoundingBox boundingBox, long srsId)
GeometryColumns.getColumnName().geometryColumns - geometry columns to createidColumnName - id column nameboundingBox - contents bounding boxsrsId - spatial reference system idGeometryColumns createFeatureTableWithMetadata(GeometryColumns geometryColumns, List<FeatureColumn> additionalColumns, BoundingBox boundingBox, long srsId)
GeometryColumns.getColumnName(), and the provided additional
columns.geometryColumns - geometry columns to createadditionalColumns - additional user feature table columns to create in addition to
id and geometry columnsboundingBox - contents bounding boxsrsId - spatial reference system idGeometryColumns createFeatureTableWithMetadata(GeometryColumns geometryColumns, String idColumnName, List<FeatureColumn> additionalColumns, BoundingBox boundingBox, long srsId)
GeometryColumns.getColumnName(), and the provided additional
columns.geometryColumns - geometry columns to createidColumnName - id column nameadditionalColumns - additional user feature table columns to create in addition to
id and geometry columnsboundingBox - contents bounding boxsrsId - spatial reference system idGeometryColumns createFeatureTableWithMetadata(GeometryColumns geometryColumns, BoundingBox boundingBox, long srsId, List<FeatureColumn> columns)
GeometryColumns.getColumnName()geometryColumns - geometry columns to createboundingBox - contents bounding boxsrsId - spatial reference system idcolumns - user feature table columns to createTileMatrixSetDao getTileMatrixSetDao()
boolean createTileMatrixSetTable()
TileMatrixDao getTileMatrixDao()
boolean createTileMatrixTable()
void createTileTable(TileTable table)
table - TileMatrixSet createTileTableWithMetadata(String tableName, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileMatrixSetBoundingBox, long tileMatrixSetSrsId)
tableName - contentsBoundingBox - contentsSrsId - tileMatrixSetBoundingBox - tileMatrixSetSrsId - DataColumnsDao getDataColumnsDao()
boolean createDataColumnsTable()
DataColumnConstraintsDao getDataColumnConstraintsDao()
boolean createDataColumnConstraintsTable()
MetadataDao getMetadataDao()
boolean createMetadataTable()
MetadataReferenceDao getMetadataReferenceDao()
boolean createMetadataReferenceTable()
ExtensionsDao getExtensionsDao()
boolean createExtensionsTable()
void deleteTable(String table)
table - void deleteTableQuietly(String tableName)
tableName - void verifyWritable()
<T,S extends BaseDaoImpl<T,?>> S createDao(Class<T> type)
type - void execSQL(String sql)
sql - void dropTable(String table)
table - TableIndexDao getTableIndexDao()
boolean createTableIndexTable()
GeometryIndexDao getGeometryIndexDao()
boolean createGeometryIndexTable()
FeatureTileLinkDao getFeatureTileLinkDao()
boolean createFeatureTileLinkTable()
Copyright © 2016 National Geospatial-Intelligence Agency. All rights reserved.