Package mil.nga.geopackage
Interface GeoPackage
-
- All Superinterfaces:
AutoCloseable,Closeable,GeoPackageCore
- All Known Implementing Classes:
DGIWGGeoPackage,GeoPackageImpl
public interface GeoPackage extends GeoPackageCore
GeoPackage database connection- Author:
- osbornb
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResultSetforeignKeyCheck()Perform a foreign key check on the databaseResultSetforeignKeyCheck(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 connectionFeatureDaogetFeatureDao(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 tableUserDao<?,?,?,?>getUserDao(String tableName)Get a User DAO from a tableResultSetintegrityCheck()Perform an integrity check on the databaseResultSetquery(String sql, String[] args)Perform a query on the databaseResultSetquickCheck()Perform a quick integrity check on the databaseStringreadableSize()Get a readable version of the database sizelongsize()Size of the database in bytes-
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, 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 Detail
-
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.2.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.2.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
-
getUserDao
UserDao<?,?,?,?> getUserDao(String tableName)
Get a User DAO from a table- Parameters:
tableName- table name- Returns:
- user dao
- Since:
- 6.6.5
-
query
ResultSet query(String sql, String[] args)
Perform a query on the database- Parameters:
sql- sql statementargs- arguments- Returns:
- result set
- Since:
- 1.1.2
-
getConnection
GeoPackageConnection getConnection()
Get the GeoPackage connection- Returns:
- GeoPackage connection
- Since:
- 2.0.1
-
size
long size()
Size of the database in bytes- Returns:
- bytes
- Since:
- 4.0.0
-
readableSize
String readableSize()
Get a readable version of the database size- Returns:
- size
- Since:
- 4.0.0
-
foreignKeyCheck
ResultSet foreignKeyCheck()
Perform a foreign key check on the database- Returns:
- null if check passed, open result set with results if failed
- Since:
- 1.1.2
-
foreignKeyCheck
ResultSet foreignKeyCheck(String tableName)
Perform a foreign key check on the database table- Parameters:
tableName- table name- Returns:
- null if check passed, open result set with results if failed
- Since:
- 3.3.0
-
integrityCheck
ResultSet integrityCheck()
Perform an integrity check on the database- Returns:
- null if check passed, open result set with results if failed
- Since:
- 1.1.2
-
quickCheck
ResultSet quickCheck()
Perform a quick integrity check on the database- Returns:
- null if check passed, open result set with results if failed
- Since:
- 1.1.2
-
-