Class SchemaExtension

    • Constructor Detail

      • SchemaExtension

        public SchemaExtension​(GeoPackageCore geoPackage)
        Constructor
        Parameters:
        geoPackage - GeoPackage
    • Method Detail

      • getOrCreate

        public List<Extensions> getOrCreate()
        Get or create the extension
        Returns:
        extensions
      • has

        public boolean has()
        Determine if the GeoPackage has the extension
        Returns:
        true if has extension
      • removeExtension

        public void removeExtension()
        Remove all trace of the extension
        Since:
        3.2.0
      • getDataColumnsDao

        public DataColumnsDao getDataColumnsDao()
        Get a Data Columns DAO
        Returns:
        Data Columns DAO
        Since:
        4.0.0
      • getDataColumnsDao

        public static DataColumnsDao getDataColumnsDao​(GeoPackageCore geoPackage)
        Get a Data Columns DAO
        Parameters:
        geoPackage - GeoPackage
        Returns:
        Data Columns DAO
        Since:
        4.0.0
      • getDataColumnsDao

        public static DataColumnsDao getDataColumnsDao​(GeoPackageCoreConnection db)
        Get a Data Columns DAO
        Parameters:
        db - database connection
        Returns:
        Data Columns DAO
        Since:
        4.0.0
      • createDataColumnsTable

        public boolean createDataColumnsTable()
        Create the Data Columns table if it does not already exist
        Returns:
        true if created
        Since:
        4.0.0
      • createDataColumnsRecord

        public Extensions createDataColumnsRecord()
        Create the Data Columns extension record if it does not already exist
        Returns:
        extension
        Since:
        6.6.7
      • getDataColumnConstraintsDao

        public DataColumnConstraintsDao getDataColumnConstraintsDao()
        Get a Data Column Constraints DAO
        Returns:
        Data Column Constraints DAO
        Since:
        4.0.0
      • getDataColumnConstraintsDao

        public static DataColumnConstraintsDao getDataColumnConstraintsDao​(GeoPackageCore geoPackage)
        Get a Data Column Constraints DAO
        Parameters:
        geoPackage - GeoPackage
        Returns:
        Data Column Constraints DAO
        Since:
        4.0.0
      • getDataColumnConstraintsDao

        public static DataColumnConstraintsDao getDataColumnConstraintsDao​(GeoPackageCoreConnection db)
        Get a Data Column Constraints DAO
        Parameters:
        db - database connection
        Returns:
        Data Column Constraints DAO
        Since:
        4.0.0
      • createDataColumnConstraintsTable

        public boolean createDataColumnConstraintsTable()
        Create the Data Column Constraints table if it does not already exist
        Returns:
        true if created
        Since:
        4.0.0
      • createDataColumnConstraintsRecord

        public Extensions createDataColumnConstraintsRecord()
        Create the Data Column Constraints extension record if it does not already exist
        Returns:
        extension
        Since:
        6.6.7