Package mil.nga.geopackage
Interface GeoPackage
- All Superinterfaces:
AutoCloseable
,Closeable
,GeoPackageCore
- All Known Implementing Classes:
DGIWGGeoPackage
,GeoPackageImpl
A single GeoPackage database connection
-
Method Summary
Modifier and TypeMethodDescriptionPerform a foreign key check on the databaseforeignKeyCheck
(String tableName) Perform a foreign key check on the database tablegetAttributesDao
(String tableName) Get an Attributes DAO from a table namegetAttributesDao
(AttributesTable table) Get an Attributes DAO from a tablegetAttributesDao
(Contents contents) Get an Attributes DAO from ContentsGet the GeoPackage connectionGet the application contextGet the cursor factorygetFeatureDao
(String tableName) Get a Feature DAO from a table namegetFeatureDao
(Contents contents) Get a Feature DAO from ContentsgetFeatureDao
(GeometryColumns geometryColumns) Get a Feature DAO from Geometry ColumnsgetFeatureDao
(FeatureTable table) Get a Feature DAO from a tablegetTileDao
(String tableName) Get a Tile DAO from a table namegetTileDao
(Contents contents) Get a Tile DAO from ContentsgetTileDao
(TileMatrixSet tileMatrixSet) Get a Tile DAO from Tile Matrix SetgetTileDao
(TileTable table) Get a Tile DAO from a tablegetUserCustomDao
(String tableName) Get a User Custom DAO from a table namegetUserCustomDao
(UserCustomTable table) Get a User Custom DAO from a tableUserDao<?,
?, ?, ?> getUserDao
(String tableName) Get a User DAO from a tablePerform an integrity check on the databasePerform a quick integrity check on the databasePerform a raw query on the databasevoid
registerCursorWrapper
(String table, GeoPackageCursorWrapper cursorWrapper) Register a GeoPackage Cursor Wrapper for table nameMethods inherited from interface mil.nga.geopackage.GeoPackageCore
beginTransaction, callInTransaction, close, commit, copyTable, copyTableAsEmpty, copyTableNoExtensions, createAttributesTable, createAttributesTable, createDao, createExtensionsTable, createFeatureTable, createFeatureTable, createGeometryColumnsTable, createTileMatrixSetTable, createTileMatrixTable, createTileTable, createTileTable, createUserTable, deleteTable, deleteTableQuietly, dropTable, dropView, enableForeignKeys, endAndBeginTransaction, endTransaction, endTransaction, execSQL, failTransaction, foreignKeys, foreignKeys, getApplicationId, getApplicationIdHex, getApplicationIdInteger, getAttributesTables, getBoundingBox, getBoundingBox, getBoundingBox, getBoundingBox, getBoundingBox, getBoundingBox, getContentsBoundingBox, getContentsBoundingBox, getContentsBoundingBox, getContentsDao, getContentsProjection, getDatabase, getExtensionManager, getExtensionsDao, getFeatureBoundingBox, getFeatureTables, getGeometryColumnsDao, getName, getPath, getProjection, getSpatialReferenceSystemDao, getTableBoundingBox, getTableBoundingBox, getTableBoundingBox, getTableBoundingBox, getTableBoundingBox, getTableBoundingBox, getTableContents, getTableCoreDataType, getTableCreator, getTableDataType, getTables, getTables, getTables, getTables, getTables, getTableType, getTileMatrixDao, getTileMatrixSetDao, getTileTables, getTypeContents, getTypeContents, getTypeContents, getTypeContents, getUserVersion, getUserVersionMajor, getUserVersionMinor, getUserVersionPatch, inTransaction, isAttributeTable, isContentsTable, isFeatureTable, isTable, isTableCoreDataType, isTableOrView, isTableType, isTableType, isTableType, isTableType, isTileTable, isView, isWritable, renameTable, saveSchema, vacuum, verifyWritable
-
Method Details
-
getCursorFactory
GeoPackageCursorFactory getCursorFactory()Get the cursor factory- Returns:
- cursor factory
- Since:
- 3.4.0
-
registerCursorWrapper
Register a GeoPackage Cursor Wrapper for table name- Parameters:
table
- table namecursorWrapper
- cursor wrapper- Since:
- 3.0.1
-
getFeatureDao
Get a Feature DAO from Geometry Columns- Parameters:
geometryColumns
- geometry columns- Returns:
- feature dao
-
getFeatureDao
Get a Feature DAO from Contents- Parameters:
contents
- contents- Returns:
- feature dao
-
getFeatureDao
Get a Feature DAO from a table- Parameters:
table
- feature table- Returns:
- feature dao
- Since:
- 4.0.0
-
getFeatureDao
Get a Feature DAO from a table name- Parameters:
tableName
- table name- Returns:
- feature dao
-
getTileDao
Get a Tile DAO from Tile Matrix Set- Parameters:
tileMatrixSet
- tile matrix set- Returns:
- tile dao
-
getTileDao
Get a Tile DAO from Contents- Parameters:
contents
- contents- Returns:
- tile dao
-
getTileDao
Get a Tile DAO from a table- Parameters:
table
- tile table- Returns:
- tile dao
- Since:
- 4.0.0
-
getTileDao
Get a Tile DAO from a table name- Parameters:
tableName
- table name- Returns:
- tile dao
-
getAttributesDao
Get an Attributes DAO from Contents- Parameters:
contents
- contents- Returns:
- attributes dao
- Since:
- 1.3.1
-
getAttributesDao
Get an Attributes DAO from a table- Parameters:
table
- attributes table- Returns:
- attributes dao
- Since:
- 4.0.0
-
getAttributesDao
Get an Attributes DAO from a table name- Parameters:
tableName
- table name- Returns:
- attributes dao
- Since:
- 1.3.1
-
getUserCustomDao
Get a User Custom DAO from a table name- Parameters:
tableName
- table name- Returns:
- user custom dao
- Since:
- 3.3.0
-
getUserCustomDao
Get a User Custom DAO from a table- Parameters:
table
- table- Returns:
- user custom dao
- Since:
- 3.4.0
-
getUserDao
Get a User DAO from a table- Parameters:
tableName
- table name- Returns:
- user dao
- Since:
- 6.7.4
-
rawQuery
Perform a raw query on the database- Parameters:
sql
- sql statementargs
- arguments- Returns:
- cursor
- Since:
- 1.2.1
-
getConnection
GeoPackageConnection getConnection()Get the GeoPackage connection- Returns:
- GeoPackage connection
- Since:
- 2.0.1
-
getContext
Context getContext()Get the application context- Returns:
- context
- Since:
- 3.2.0
-
foreignKeyCheck
Cursor foreignKeyCheck()Perform a foreign key check on the database- Returns:
- null if check passed, open cursor with results if failed
- Since:
- 1.2.1
-
foreignKeyCheck
Perform a foreign key check on the database table- Parameters:
tableName
- table name- Returns:
- null if check passed, open cursor with results if failed
- Since:
- 3.3.0
-
integrityCheck
Cursor integrityCheck()Perform an integrity check on the database- Returns:
- null if check passed, open cursor with results if failed
- Since:
- 1.2.1
-
quickCheck
Cursor quickCheck()Perform a quick integrity check on the database- Returns:
- null if check passed, open cursor with results if failed
- Since:
- 1.2.1
-