Interface GeoPackage

All Superinterfaces:
AutoCloseable, Closeable, GeoPackageCore
All Known Implementing Classes:
DGIWGGeoPackage, GeoPackageImpl

public interface GeoPackage extends GeoPackageCore
A single GeoPackage database connection
  • Method Details

    • 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 name
      cursorWrapper - 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
    • getUserDao

      UserDao<?,?,?,?> getUserDao(String tableName)
      Get a User DAO from a table
      Parameters:
      tableName - table name
      Returns:
      user dao
      Since:
      6.7.4
    • rawQuery

      Cursor rawQuery(String sql, String[] args)
      Perform a raw query on the database
      Parameters:
      sql - sql statement
      args - 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