Package mil.nga.geopackage
Interface GeoPackage
-
- All Superinterfaces:
AutoCloseable,Closeable,GeoPackageCore
- All Known Implementing Classes:
GeoPackageImpl
public interface GeoPackage extends GeoPackageCore
A single GeoPackage database connection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CursorforeignKeyCheck()Perform a foreign key check on the databaseCursorforeignKeyCheck(String tableName)Perform a foreign key check on the database tableAttributesDaogetAttributesDao(String tableName)Get an Attributes DAO from a table nameAttributesDaogetAttributesDao(AttributesTable table)Get an Attributes DAO from a tableAttributesDaogetAttributesDao(Contents contents)Get an Attributes DAO from ContentsGeoPackageConnectiongetConnection()Get the GeoPackage connectionContextgetContext()Get the application contextGeoPackageCursorFactorygetCursorFactory()Get the cursor factoryFeatureDaogetFeatureDao(String tableName)Get a Feature DAO from a table nameFeatureDaogetFeatureDao(Contents contents)Get a Feature DAO from ContentsFeatureDaogetFeatureDao(GeometryColumns geometryColumns)Get a Feature DAO from Geometry ColumnsFeatureDaogetFeatureDao(FeatureTable table)Get a Feature DAO from a tableTileDaogetTileDao(String tableName)Get a Tile DAO from a table nameTileDaogetTileDao(Contents contents)Get a Tile DAO from ContentsTileDaogetTileDao(TileMatrixSet tileMatrixSet)Get a Tile DAO from Tile Matrix SetTileDaogetTileDao(TileTable table)Get a Tile DAO from a tableUserCustomDaogetUserCustomDao(String tableName)Get a User Custom DAO from a table nameUserCustomDaogetUserCustomDao(UserCustomTable table)Get a User Custom DAO from a tableCursorintegrityCheck()Perform an integrity check on the databaseCursorquickCheck()Perform a quick integrity check on the databaseCursorrawQuery(String sql, String[] args)Perform a raw query on the databasevoidregisterCursorWrapper(String table, GeoPackageCursorWrapper cursorWrapper)Register a GeoPackage Cursor Wrapper for table name-
Methods 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, getTableCreator, getTableDataType, getTables, getTables, getTables, getTables, getTables, getTableType, getTileMatrixDao, getTileMatrixSetDao, getTileTables, getTypeContents, getTypeContents, getTypeContents, getTypeContents, getUserVersion, getUserVersionMajor, getUserVersionMinor, getUserVersionPatch, inTransaction, isAttributeTable, isContentsTable, isFeatureTable, isTable, isTableOrView, isTableType, isTableType, isTableType, isTableType, isTileTable, isView, isWritable, renameTable, vacuum, verifyWritable
-
-
-
-
Method Detail
-
getCursorFactory
GeoPackageCursorFactory getCursorFactory()
Get the cursor factory- Returns:
- cursor factory
- Since:
- 3.4.0
-
registerCursorWrapper
void registerCursorWrapper(String table, GeoPackageCursorWrapper cursorWrapper)
Register a GeoPackage Cursor Wrapper for table name- Parameters:
table- table namecursorWrapper- cursor wrapper- Since:
- 3.0.1
-
getFeatureDao
FeatureDao getFeatureDao(GeometryColumns geometryColumns)
Get a Feature DAO from Geometry Columns- Parameters:
geometryColumns- geometry columns- Returns:
- feature dao
-
getFeatureDao
FeatureDao getFeatureDao(Contents contents)
Get a Feature DAO from Contents- Parameters:
contents- contents- Returns:
- feature dao
-
getFeatureDao
FeatureDao getFeatureDao(FeatureTable table)
Get a Feature DAO from a table- Parameters:
table- feature table- Returns:
- feature dao
- Since:
- 4.0.0
-
getFeatureDao
FeatureDao getFeatureDao(String tableName)
Get a Feature DAO from a table name- Parameters:
tableName- table name- Returns:
- feature dao
-
getTileDao
TileDao getTileDao(TileMatrixSet tileMatrixSet)
Get a Tile DAO from Tile Matrix Set- Parameters:
tileMatrixSet- tile matrix set- Returns:
- tile dao
-
getTileDao
TileDao getTileDao(Contents contents)
Get a Tile DAO from Contents- Parameters:
contents- contents- Returns:
- tile dao
-
getTileDao
TileDao getTileDao(TileTable table)
Get a Tile DAO from a table- Parameters:
table- tile table- Returns:
- tile dao
- Since:
- 4.0.0
-
getTileDao
TileDao getTileDao(String tableName)
Get a Tile DAO from a table name- Parameters:
tableName- table name- Returns:
- tile dao
-
getAttributesDao
AttributesDao getAttributesDao(Contents contents)
Get an Attributes DAO from Contents- Parameters:
contents- contents- Returns:
- attributes dao
- Since:
- 1.3.1
-
getAttributesDao
AttributesDao getAttributesDao(AttributesTable table)
Get an Attributes DAO from a table- Parameters:
table- attributes table- Returns:
- attributes dao
- Since:
- 4.0.0
-
getAttributesDao
AttributesDao getAttributesDao(String tableName)
Get an Attributes DAO from a table name- Parameters:
tableName- table name- Returns:
- attributes dao
- Since:
- 1.3.1
-
getUserCustomDao
UserCustomDao getUserCustomDao(String tableName)
Get a User Custom DAO from a table name- Parameters:
tableName- table name- Returns:
- user custom dao
- Since:
- 3.3.0
-
getUserCustomDao
UserCustomDao getUserCustomDao(UserCustomTable table)
Get a User Custom DAO from a table- Parameters:
table- table- Returns:
- user custom dao
- Since:
- 3.4.0
-
rawQuery
Cursor rawQuery(String sql, String[] args)
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
Cursor foreignKeyCheck(String tableName)
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
-
-