public abstract class GeoPackageCoreImpl extends Object implements GeoPackageCore
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
writable
Writable GeoPackage flag
|
| Modifier | Constructor and Description |
|---|---|
protected |
GeoPackageCoreImpl(String name,
String path,
GeoPackageCoreConnection database,
GeoPackageTableCreator tableCreator,
boolean writable)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
callInTransaction(Callable<T> callable)
Execute the
Callable class inside an ORMLite transaction |
void |
close()
Close the GeoPackage connection
|
protected void |
copyAttributeTable(String tableName,
String newTableName,
boolean transferContent)
Copy the attribute table
|
protected Contents |
copyContents(String tableName,
String newTableName)
Copy the contents
|
protected void |
copyFeatureTable(String tableName,
String newTableName,
boolean transferContent)
Copy the feature table
|
void |
copyTable(String tableName,
String newTableName)
Copy the table with transferred contents and extensions
|
protected void |
copyTable(String tableName,
String newTableName,
boolean transferContent,
boolean extensions)
Copy the table
|
void |
copyTableAsEmpty(String tableName,
String newTableName)
Copy the table but leave the user table empty and without extensions
|
void |
copyTableNoExtensions(String tableName,
String newTableName)
Copy the table with transferred contents but no extensions
|
protected void |
copyTileTable(String tableName,
String newTableName,
boolean transferContent)
Copy the tile table
|
protected Contents |
copyUserTable(String tableName,
String newTableName,
boolean transferContent)
Copy the user table
|
protected Contents |
copyUserTable(String tableName,
String newTableName,
boolean transferContent,
boolean validateContents)
Copy the user table
|
void |
createAttributesTable(AttributesTable table)
Create a new attributes table (only the attributes table is created, no
Contents entry is created)
|
AttributesTable |
createAttributesTable(String tableName,
List<AttributesColumn> columns)
Create a new attributes table and a new Contents
The attributes table will be created with columns.size() columns and must
include an integer id column
|
AttributesTable |
createAttributesTable(String tableName,
List<AttributesColumn> columns,
Collection<Constraint> constraints)
Create a new attributes table and a new Contents
The attributes table will be created with columns.size() columns and must
include an integer id column
|
AttributesTable |
createAttributesTable(String tableName,
String idColumnName,
List<AttributesColumn> additionalColumns)
Create a new attributes table and a new Contents
The attributes table will be created with 1 + additionalColumns.size()
columns, an id column with the provided name and the provided additional
columns.
|
AttributesTable |
createAttributesTable(String tableName,
String idColumnName,
List<AttributesColumn> additionalColumns,
Collection<Constraint> constraints)
Create a new attributes table and a new Contents
The attributes table will be created with 1 + additionalColumns.size()
columns, an id column with the provided name and the provided additional
columns.
|
AttributesTable |
createAttributesTableWithId(String tableName,
List<AttributesColumn> additionalColumns)
Create a new attributes table and a new Contents
The attributes table will be created with 1 + additionalColumns.size()
columns, an id column named "id" and the provided additional columns.
|
AttributesTable |
createAttributesTableWithId(String tableName,
List<AttributesColumn> additionalColumns,
Collection<Constraint> constraints)
Create a new attributes table and a new Contents
The attributes table will be created with 1 + additionalColumns.size()
columns, an id column named "id" and the provided additional columns.
|
boolean |
createContentsIdTable()
Create the Contents Id Table if it does not exist
|
<T,S extends BaseDaoImpl<T,?>> |
createDao(Class<T> type)
Create a dao
|
boolean |
createDataColumnConstraintsTable()
Create the Data Column Constraints table if it does not already exist
|
boolean |
createDataColumnsTable()
Create the Data Columns table if it does not already exist
|
boolean |
createExtendedRelationsTable()
Create the Extended Relations Table if it does not exist
|
boolean |
createExtensionsTable()
Create the Extensions table if it does not already exist
|
void |
createFeatureTable(FeatureTable table)
Create a new feature table
|
GeometryColumns |
createFeatureTableWithMetadata(GeometryColumns geometryColumns,
BoundingBox boundingBox,
long srsId)
Create a new feature table with GeoPackage metadata.
|
GeometryColumns |
createFeatureTableWithMetadata(GeometryColumns geometryColumns,
BoundingBox boundingBox,
long srsId,
List<FeatureColumn> columns)
Create a new feature table with GeoPackage metadata.
|
GeometryColumns |
createFeatureTableWithMetadata(GeometryColumns geometryColumns,
List<FeatureColumn> additionalColumns,
BoundingBox boundingBox,
long srsId)
Create a new feature table with GeoPackage metadata.
|
GeometryColumns |
createFeatureTableWithMetadata(GeometryColumns geometryColumns,
String idColumnName,
BoundingBox boundingBox,
long srsId)
Create a new feature table with GeoPackage metadata.
|
GeometryColumns |
createFeatureTableWithMetadata(GeometryColumns geometryColumns,
String idColumnName,
List<FeatureColumn> additionalColumns,
BoundingBox boundingBox,
long srsId)
Create a new feature table with GeoPackage metadata.
|
boolean |
createFeatureTileLinkTable()
Create the Feature Tile Link Table if it does not exist
|
boolean |
createGeometryColumnsTable()
Create the Geometry Columns table if it does not already exist
|
boolean |
createGeometryIndexTable()
Create Geometry Index Table if it does not exist and index it
|
boolean |
createGriddedCoverageTable()
Create the 2D Gridded Coverage Table if it does not exist
|
boolean |
createGriddedTileTable()
Create the 2D Gridded Tile Table if it does not exist
|
boolean |
createMetadataReferenceTable()
Create the Metadata Reference table if it does not already exist
|
boolean |
createMetadataTable()
Create the Metadata table if it does not already exist
|
boolean |
createTableIndexTable()
Create the Table Index Table if it does not exist
|
boolean |
createTileMatrixSetTable()
Create the Tile Matrix Set table if it does not already exist
|
boolean |
createTileMatrixTable()
Create the Tile Matrix table if it does not already exist
|
boolean |
createTileScalingTable()
Create the Tile Scaling Table if it does not exist
|
void |
createTileTable(TileTable table)
Create a new tile table
|
TileMatrixSet |
createTileTableWithMetadata(ContentsDataType dataType,
String tableName,
BoundingBox contentsBoundingBox,
long contentsSrsId,
BoundingBox tileMatrixSetBoundingBox,
long tileMatrixSetSrsId)
Create a new tile table of the specified type and the GeoPackage metadata
|
TileMatrixSet |
createTileTableWithMetadata(String tableName,
BoundingBox contentsBoundingBox,
long contentsSrsId,
BoundingBox tileMatrixSetBoundingBox,
long tileMatrixSetSrsId)
Create a new tile table and the GeoPackage metadata
|
void |
createUserTable(UserTable<? extends UserColumn> table)
Create a new user table
|
void |
deleteTable(String table)
Delete the user table (a feature or tile table) and all GeoPackage
metadata
|
void |
deleteTableQuietly(String tableName)
Attempt to delete the user table (a feature or tile table) and all
GeoPackage metadata quietly
|
void |
dropTable(String table)
Drop the table if it exists.
|
boolean |
enableForeignKeys()
If foreign keys is disabled and there are no foreign key violations,
enables foreign key checks, else logs violations
|
void |
endAndBeginTransaction()
End a transaction as successful and begin a new transaction
|
void |
endTransaction()
End a transaction successfully
|
void |
failTransaction()
Fail a transaction
|
boolean |
foreignKeys()
Query for the foreign keys value
|
boolean |
foreignKeys(boolean on)
Change the foreign keys state
|
String |
getApplicationId()
Get the application id
|
List<String> |
getAttributesTables()
Get the attributes tables
|
BoundingBox |
getBoundingBox(Projection projection)
Get the bounding box for all tables in the provided projection, including
contents and table metadata
|
BoundingBox |
getBoundingBox(Projection projection,
boolean manual)
Get the bounding box for all tables in the provided projection, including
contents, table metadata, and manual queries if enabled
|
BoundingBox |
getBoundingBox(Projection projection,
String table)
Get the bounding box for the table in the provided projection, including
contents and table metadata
|
BoundingBox |
getBoundingBox(Projection projection,
String table,
boolean manual)
Get the bounding box for the table in the provided projection, including
contents, table metadata, and manual queries if enabled
|
BoundingBox |
getBoundingBox(String table)
Get the bounding box for the table in the table's projection, including
contents and table metadata
|
BoundingBox |
getBoundingBox(String table,
boolean manual)
Get the bounding box for the table in the table's projection, including
contents, table metadata, and manual queries if enabled
|
BoundingBox |
getContentsBoundingBox(Projection projection)
Get the bounding box for all table contents in the provided projection
|
BoundingBox |
getContentsBoundingBox(Projection projection,
String table)
Get the bounding box from the contents for the table in the provided
projection
|
BoundingBox |
getContentsBoundingBox(String table)
Get the bounding box from the contents for the table in the table's
projection
|
ContentsDao |
getContentsDao()
Get a Contents DAO
|
ContentsIdDao |
getContentsIdDao()
Get a Contents Id DAO
|
GeoPackageCoreConnection |
getDatabase()
Get the SQLite database
|
DataColumnConstraintsDao |
getDataColumnConstraintsDao()
Get a Data Column Constraints DAO
|
DataColumnsDao |
getDataColumnsDao()
Get a Data Columns DAO
|
ExtendedRelationsDao |
getExtendedRelationsDao()
Get a Extended Relations DAO
|
ExtensionsDao |
getExtensionsDao()
Get an Extensions DAO
|
List<String> |
getFeatureAndTileTables()
Get the feature and tile tables
|
List<String> |
getFeatureTables()
Get the feature tables
|
FeatureTileLinkDao |
getFeatureTileLinkDao()
Get a Feature Tile Link DAO
|
GeometryColumnsDao |
getGeometryColumnsDao()
Get a Geometry Columns DAO
|
GeometryColumnsSfSqlDao |
getGeometryColumnsSfSqlDao()
Get a SF/SQL Geometry Columns DAO
|
GeometryColumnsSqlMmDao |
getGeometryColumnsSqlMmDao()
Get a SQL/MM Geometry Columns DAO
|
GeometryIndexDao |
getGeometryIndexDao()
Get a Geometry Index DAO
|
GriddedCoverageDao |
getGriddedCoverageDao()
Get a 2D Gridded Coverage DAO
|
GriddedTileDao |
getGriddedTileDao()
Get a 2D Gridded Tile DAO
|
MetadataDao |
getMetadataDao()
Get a Metadata DAO
|
MetadataReferenceDao |
getMetadataReferenceDao()
Get a Metadata Reference DAO
|
String |
getName()
Get the GeoPackage name
|
String |
getPath()
Get the GeoPackage path
|
SpatialReferenceSystemDao |
getSpatialReferenceSystemDao()
Get a Spatial Reference System DAO
|
SpatialReferenceSystemSfSqlDao |
getSpatialReferenceSystemSfSqlDao()
Get a SF/SQL Spatial Reference System DAO
|
SpatialReferenceSystemSqlMmDao |
getSpatialReferenceSystemSqlMmDao()
Get a SQL/MM Spatial Reference System DAO
|
Contents |
getTableContents(String table)
Get the contents of the user table
|
ContentsDataType |
getTableDataType(String table)
Get the contents data type of the user table
|
TableIndexDao |
getTableIndexDao()
Get a Table Index DAO
|
List<String> |
getTables()
Get all tables
|
List<String> |
getTables(ContentsDataType type)
Get the tables for the contents data type
|
List<String> |
getTables(String type)
Get the tables for the contents data type
|
String |
getTableType(String table)
Get the contents data type of the user table
|
TileMatrixDao |
getTileMatrixDao()
Get a Tile Matrix DAO
|
TileMatrixSetDao |
getTileMatrixSetDao()
Get a Tile Matrix Set DAO
|
TileScalingDao |
getTileScalingDao()
Get a Tile Scaling DAO
|
List<String> |
getTileTables()
Get the tile tables
|
int |
getUserVersion()
Get the user version
|
int |
getUserVersionMajor()
Get the major user version
|
int |
getUserVersionMinor()
Get the minor user version
|
int |
getUserVersionPatch()
Get the patch user version
|
boolean |
indexGeometryIndexTable()
Index the Geometry Index Table if needed
|
boolean |
isAttributeTable(String table)
Check if the table is an attribute table
|
boolean |
isContentsTable(String table)
Check if the table exists as a user contents table
|
boolean |
isFeatureOrTileTable(String table)
Check if the table exists as a feature or tile table
|
boolean |
isFeatureTable(String table)
Check if the table is a feature table
|
boolean |
isTable(String table)
Check if the table exists
|
boolean |
isTableType(ContentsDataType type,
String table)
Check if the table is the provided type
|
boolean |
isTableType(String type,
String table)
Check if the table is the provided type
|
boolean |
isTileTable(String table)
Check if the table is a tile table
|
boolean |
isWritable()
Is the GeoPackage writable
|
void |
renameTable(String tableName,
String newTableName)
Rename the table
|
boolean |
unindexGeometryIndexTable()
Un-index the Geometry Index Table if needed
|
void |
vacuum()
Rebuild the GeoPackage, repacking it into a minimal amount of disk space
|
void |
verifyWritable()
Verify the GeoPackage is writable and throw an exception if it is not
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginTransaction, commit, endTransaction, execSQL, getFeatureBoundingBox, inTransactionprotected GeoPackageCoreImpl(String name, String path, GeoPackageCoreConnection database, GeoPackageTableCreator tableCreator, boolean writable)
name - namepath - pathdatabase - databasetableCreator - table creatorwritable - true if writablepublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface GeoPackageCorepublic String getName()
getName in interface GeoPackageCorepublic String getPath()
getPath in interface GeoPackageCorepublic GeoPackageCoreConnection getDatabase()
getDatabase in interface GeoPackageCorepublic boolean isWritable()
isWritable in interface GeoPackageCorepublic String getApplicationId()
getApplicationId in interface GeoPackageCorepublic int getUserVersion()
getUserVersion in interface GeoPackageCorepublic int getUserVersionMajor()
getUserVersionMajor in interface GeoPackageCorepublic int getUserVersionMinor()
getUserVersionMinor in interface GeoPackageCorepublic int getUserVersionPatch()
getUserVersionPatch in interface GeoPackageCorepublic List<String> getFeatureTables()
getFeatureTables in interface GeoPackageCorepublic List<String> getTileTables()
getTileTables in interface GeoPackageCorepublic List<String> getAttributesTables()
getAttributesTables in interface GeoPackageCorepublic List<String> getTables(ContentsDataType type)
getTables in interface GeoPackageCoretype - data typepublic List<String> getTables(String type)
getTables in interface GeoPackageCoretype - data typepublic List<String> getFeatureAndTileTables()
getFeatureAndTileTables in interface GeoPackageCorepublic List<String> getTables()
getTables in interface GeoPackageCorepublic boolean isFeatureTable(String table)
isFeatureTable in interface GeoPackageCoretable - table namepublic boolean isTileTable(String table)
isTileTable in interface GeoPackageCoretable - table namepublic boolean isAttributeTable(String table)
isAttributeTable in interface GeoPackageCoretable - table namepublic boolean isTableType(ContentsDataType type, String table)
isTableType in interface GeoPackageCoretype - data typetable - table namepublic boolean isTableType(String type, String table)
isTableType in interface GeoPackageCoretype - data typetable - table namepublic boolean isFeatureOrTileTable(String table)
isFeatureOrTileTable in interface GeoPackageCoretable - table namepublic boolean isContentsTable(String table)
isContentsTable in interface GeoPackageCoretable - table namepublic boolean isTable(String table)
isTable in interface GeoPackageCoretable - table namepublic Contents getTableContents(String table)
getTableContents in interface GeoPackageCoretable - table namepublic String getTableType(String table)
getTableType in interface GeoPackageCoretable - table namepublic ContentsDataType getTableDataType(String table)
getTableDataType in interface GeoPackageCoretable - table namepublic BoundingBox getContentsBoundingBox(Projection projection)
getContentsBoundingBox in interface GeoPackageCoreprojection - desired bounding box projectionpublic BoundingBox getBoundingBox(Projection projection)
getBoundingBox in interface GeoPackageCoreprojection - desired bounding box projectionpublic BoundingBox getBoundingBox(Projection projection, boolean manual)
getBoundingBox in interface GeoPackageCoreprojection - desired bounding box projectionmanual - manual query flag, true to determine missing bounds manuallypublic BoundingBox getContentsBoundingBox(String table)
getContentsBoundingBox in interface GeoPackageCoretable - table namepublic BoundingBox getContentsBoundingBox(Projection projection, String table)
getContentsBoundingBox in interface GeoPackageCoreprojection - desired bounding box projectiontable - table namepublic BoundingBox getBoundingBox(String table)
getBoundingBox in interface GeoPackageCoretable - table namepublic BoundingBox getBoundingBox(Projection projection, String table)
getBoundingBox in interface GeoPackageCoreprojection - desired bounding box projectiontable - table namepublic BoundingBox getBoundingBox(String table, boolean manual)
getBoundingBox in interface GeoPackageCoretable - table namemanual - manual query flag, true to determine missing bounds manuallypublic BoundingBox getBoundingBox(Projection projection, String table, boolean manual)
getBoundingBox in interface GeoPackageCoreprojection - desired bounding box projectiontable - table namemanual - manual query flag, true to determine missing bounds manuallypublic SpatialReferenceSystemDao getSpatialReferenceSystemDao()
getSpatialReferenceSystemDao in interface GeoPackageCorepublic SpatialReferenceSystemSqlMmDao getSpatialReferenceSystemSqlMmDao()
getSpatialReferenceSystemSqlMmDao in interface GeoPackageCorepublic SpatialReferenceSystemSfSqlDao getSpatialReferenceSystemSfSqlDao()
getSpatialReferenceSystemSfSqlDao in interface GeoPackageCorepublic ContentsDao getContentsDao()
getContentsDao in interface GeoPackageCorepublic GeometryColumnsDao getGeometryColumnsDao()
getGeometryColumnsDao in interface GeoPackageCorepublic GeometryColumnsSqlMmDao getGeometryColumnsSqlMmDao()
getGeometryColumnsSqlMmDao in interface GeoPackageCorepublic GeometryColumnsSfSqlDao getGeometryColumnsSfSqlDao()
getGeometryColumnsSfSqlDao in interface GeoPackageCorepublic boolean createGeometryColumnsTable()
createGeometryColumnsTable in interface GeoPackageCorepublic void createFeatureTable(FeatureTable table)
createFeatureTable in interface GeoPackageCoretable - feature tablepublic GeometryColumns createFeatureTableWithMetadata(GeometryColumns geometryColumns, BoundingBox boundingBox, long srsId)
GeometryColumns.getColumnName().createFeatureTableWithMetadata in interface GeoPackageCoregeometryColumns - geometry columns to createboundingBox - contents bounding boxsrsId - spatial reference system idpublic GeometryColumns createFeatureTableWithMetadata(GeometryColumns geometryColumns, String idColumnName, BoundingBox boundingBox, long srsId)
GeometryColumns.getColumnName().createFeatureTableWithMetadata in interface GeoPackageCoregeometryColumns - geometry columns to createidColumnName - id column nameboundingBox - contents bounding boxsrsId - spatial reference system idpublic GeometryColumns createFeatureTableWithMetadata(GeometryColumns geometryColumns, List<FeatureColumn> additionalColumns, BoundingBox boundingBox, long srsId)
GeometryColumns.getColumnName(), and the provided additional
columns.createFeatureTableWithMetadata in interface GeoPackageCoregeometryColumns - geometry columns to createadditionalColumns - additional user feature table columns to create in addition to
id and geometry columnsboundingBox - contents bounding boxsrsId - spatial reference system idpublic GeometryColumns createFeatureTableWithMetadata(GeometryColumns geometryColumns, String idColumnName, List<FeatureColumn> additionalColumns, BoundingBox boundingBox, long srsId)
GeometryColumns.getColumnName(), and the provided additional
columns.createFeatureTableWithMetadata in interface GeoPackageCoregeometryColumns - geometry columns to createidColumnName - id column nameadditionalColumns - additional user feature table columns to create in addition to
id and geometry columnsboundingBox - contents bounding boxsrsId - spatial reference system idpublic GeometryColumns createFeatureTableWithMetadata(GeometryColumns geometryColumns, BoundingBox boundingBox, long srsId, List<FeatureColumn> columns)
GeometryColumns.getColumnName()createFeatureTableWithMetadata in interface GeoPackageCoregeometryColumns - geometry columns to createboundingBox - contents bounding boxsrsId - spatial reference system idcolumns - user feature table columns to createpublic TileMatrixSetDao getTileMatrixSetDao()
getTileMatrixSetDao in interface GeoPackageCorepublic boolean createTileMatrixSetTable()
createTileMatrixSetTable in interface GeoPackageCorepublic TileMatrixDao getTileMatrixDao()
getTileMatrixDao in interface GeoPackageCorepublic boolean createTileMatrixTable()
createTileMatrixTable in interface GeoPackageCorepublic void createTileTable(TileTable table)
createTileTable in interface GeoPackageCoretable - tile tablepublic TileMatrixSet createTileTableWithMetadata(String tableName, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileMatrixSetBoundingBox, long tileMatrixSetSrsId)
createTileTableWithMetadata in interface GeoPackageCoretableName - table namecontentsBoundingBox - contents bounding boxcontentsSrsId - contents SRS idtileMatrixSetBoundingBox - tile matrix set bounding boxtileMatrixSetSrsId - tile matrix set SRS idpublic TileMatrixSet createTileTableWithMetadata(ContentsDataType dataType, String tableName, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileMatrixSetBoundingBox, long tileMatrixSetSrsId)
createTileTableWithMetadata in interface GeoPackageCoredataType - contents data typetableName - table namecontentsBoundingBox - contents bounding boxcontentsSrsId - contents SRS idtileMatrixSetBoundingBox - tile matrix set bounding boxtileMatrixSetSrsId - tile matrix set SRS idpublic DataColumnsDao getDataColumnsDao()
getDataColumnsDao in interface GeoPackageCorepublic boolean createDataColumnsTable()
createDataColumnsTable in interface GeoPackageCorepublic DataColumnConstraintsDao getDataColumnConstraintsDao()
getDataColumnConstraintsDao in interface GeoPackageCorepublic boolean createDataColumnConstraintsTable()
createDataColumnConstraintsTable in interface GeoPackageCorepublic MetadataDao getMetadataDao()
getMetadataDao in interface GeoPackageCorepublic boolean createMetadataTable()
createMetadataTable in interface GeoPackageCorepublic MetadataReferenceDao getMetadataReferenceDao()
getMetadataReferenceDao in interface GeoPackageCorepublic boolean createMetadataReferenceTable()
createMetadataReferenceTable in interface GeoPackageCorepublic ExtensionsDao getExtensionsDao()
getExtensionsDao in interface GeoPackageCorepublic boolean createExtensionsTable()
createExtensionsTable in interface GeoPackageCorepublic void deleteTable(String table)
deleteTable in interface GeoPackageCoretable - table namepublic void deleteTableQuietly(String tableName)
deleteTableQuietly in interface GeoPackageCoretableName - table namepublic <T,S extends BaseDaoImpl<T,?>> S createDao(Class<T> type)
createDao in interface GeoPackageCoreT - class typeS - dao typetype - dao class typepublic void endTransaction()
endTransaction in interface GeoPackageCorepublic void failTransaction()
failTransaction in interface GeoPackageCorepublic void endAndBeginTransaction()
endAndBeginTransaction in interface GeoPackageCorepublic <T> T callInTransaction(Callable<T> callable) throws SQLException
Callable class inside an ORMLite transactioncallInTransaction in interface GeoPackageCoreT - callable typecallable - Callable to execute inside of the transaction.SQLException - upon transaction errorpublic boolean enableForeignKeys()
enableForeignKeys in interface GeoPackageCorepublic boolean foreignKeys()
foreignKeys in interface GeoPackageCorepublic boolean foreignKeys(boolean on)
foreignKeys in interface GeoPackageCoreon - true to turn on, false to turn offpublic void verifyWritable()
verifyWritable in interface GeoPackageCorepublic void dropTable(String table)
dropTable in interface GeoPackageCoretable - table namepublic void renameTable(String tableName, String newTableName)
renameTable in interface GeoPackageCoretableName - table namenewTableName - new table namepublic void copyTable(String tableName, String newTableName)
copyTable in interface GeoPackageCoretableName - table namenewTableName - new table namepublic void copyTableNoExtensions(String tableName, String newTableName)
copyTableNoExtensions in interface GeoPackageCoretableName - table namenewTableName - new table namepublic void copyTableAsEmpty(String tableName, String newTableName)
copyTableAsEmpty in interface GeoPackageCoretableName - table namenewTableName - new table nameprotected void copyTable(String tableName, String newTableName, boolean transferContent, boolean extensions)
tableName - table namenewTableName - new table nametransferContent - transfer content flagextensions - extensions copy flagprotected void copyAttributeTable(String tableName, String newTableName, boolean transferContent)
tableName - table namenewTableName - new table nametransferContent - transfer content flagprotected void copyFeatureTable(String tableName, String newTableName, boolean transferContent)
tableName - table namenewTableName - new table nametransferContent - transfer content flagprotected void copyTileTable(String tableName, String newTableName, boolean transferContent)
tableName - table namenewTableName - new table nametransferContent - transfer content flagprotected Contents copyUserTable(String tableName, String newTableName, boolean transferContent)
tableName - table namenewTableName - new table nametransferContent - transfer user table content flagprotected Contents copyUserTable(String tableName, String newTableName, boolean transferContent, boolean validateContents)
tableName - table namenewTableName - new table nametransferContent - transfer user table content flagvalidateContents - true to validate a contents was copiedprotected Contents copyContents(String tableName, String newTableName)
tableName - table namenewTableName - new table namepublic void vacuum()
vacuum in interface GeoPackageCorepublic GriddedCoverageDao getGriddedCoverageDao()
getGriddedCoverageDao in interface GeoPackageCorepublic boolean createGriddedCoverageTable()
createGriddedCoverageTable in interface GeoPackageCorepublic GriddedTileDao getGriddedTileDao()
getGriddedTileDao in interface GeoPackageCorepublic boolean createGriddedTileTable()
createGriddedTileTable in interface GeoPackageCorepublic TableIndexDao getTableIndexDao()
getTableIndexDao in interface GeoPackageCorepublic boolean createTableIndexTable()
createTableIndexTable in interface GeoPackageCorepublic GeometryIndexDao getGeometryIndexDao()
getGeometryIndexDao in interface GeoPackageCorepublic boolean createGeometryIndexTable()
createGeometryIndexTable in interface GeoPackageCorepublic boolean indexGeometryIndexTable()
indexGeometryIndexTable in interface GeoPackageCorepublic boolean unindexGeometryIndexTable()
unindexGeometryIndexTable in interface GeoPackageCorepublic FeatureTileLinkDao getFeatureTileLinkDao()
getFeatureTileLinkDao in interface GeoPackageCorepublic boolean createFeatureTileLinkTable()
createFeatureTileLinkTable in interface GeoPackageCorepublic void createAttributesTable(AttributesTable table)
createAttributesTable in interface GeoPackageCoretable - attributes tablepublic AttributesTable createAttributesTableWithId(String tableName, List<AttributesColumn> additionalColumns)
createAttributesTableWithId in interface GeoPackageCoretableName - table nameadditionalColumns - additional attributes table columns to create in addition to
idpublic AttributesTable createAttributesTableWithId(String tableName, List<AttributesColumn> additionalColumns, Collection<Constraint> constraints)
createAttributesTableWithId in interface GeoPackageCoretableName - table nameadditionalColumns - additional attributes table columns to create in addition to
idconstraints - constraintspublic AttributesTable createAttributesTable(String tableName, String idColumnName, List<AttributesColumn> additionalColumns)
createAttributesTable in interface GeoPackageCoretableName - table nameidColumnName - id column nameadditionalColumns - additional attributes table columns to create in addition to
idpublic AttributesTable createAttributesTable(String tableName, String idColumnName, List<AttributesColumn> additionalColumns, Collection<Constraint> constraints)
createAttributesTable in interface GeoPackageCoretableName - table nameidColumnName - id column nameadditionalColumns - additional attributes table columns to create in addition to
idconstraints - constraintspublic AttributesTable createAttributesTable(String tableName, List<AttributesColumn> columns)
createAttributesTable in interface GeoPackageCoretableName - table namecolumns - table columns to createpublic AttributesTable createAttributesTable(String tableName, List<AttributesColumn> columns, Collection<Constraint> constraints)
createAttributesTable in interface GeoPackageCoretableName - table namecolumns - table columns to createconstraints - constraintspublic TileScalingDao getTileScalingDao()
getTileScalingDao in interface GeoPackageCorepublic boolean createTileScalingTable()
createTileScalingTable in interface GeoPackageCorepublic ExtendedRelationsDao getExtendedRelationsDao()
getExtendedRelationsDao in interface GeoPackageCorepublic boolean createExtendedRelationsTable()
createExtendedRelationsTable in interface GeoPackageCorepublic ContentsIdDao getContentsIdDao()
getContentsIdDao in interface GeoPackageCorepublic boolean createContentsIdTable()
createContentsIdTable in interface GeoPackageCorepublic void createUserTable(UserTable<? extends UserColumn> table)
createUserTable in interface GeoPackageCoretable - user tableCopyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.