| Modifier and Type | Method and Description |
|---|---|
GeoPackageCoreConnection |
GeoPackageCore.getDatabase()
Get the SQLite database
|
| Modifier and Type | Method and Description |
|---|---|
void |
ContentsDao.setDatabase(GeoPackageCoreConnection db)
Set the database
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AlterTable.addColumn(GeoPackageCoreConnection db,
String tableName,
String columnName,
String columnDef)
Add a column
|
static void |
CoreSQLUtils.addColumn(GeoPackageCoreConnection db,
String tableName,
UserColumn column)
Create SQL for adding a column
|
static <T extends UserColumn> |
AlterTable.alterColumn(GeoPackageCoreConnection db,
String tableName,
UserCustomColumn column)
Alter a column
|
static <T extends UserColumn> |
AlterTable.alterColumn(GeoPackageCoreConnection db,
UserTable<T> table,
T column)
Alter a column
|
static <T extends UserColumn> |
AlterTable.alterColumns(GeoPackageCoreConnection db,
String tableName,
Collection<UserCustomColumn> columns)
Alter columns
|
static <T extends UserColumn> |
AlterTable.alterColumns(GeoPackageCoreConnection db,
UserTable<T> table,
Collection<T> columns)
Alter columns
|
static void |
AlterTable.alterTable(GeoPackageCoreConnection db,
String sql,
TableMapping tableMapping)
Alter a table with a new table SQL creation statement and table mapping.
|
static void |
AlterTable.alterTable(GeoPackageCoreConnection db,
UserTable<? extends UserColumn> newTable)
Alter a table with a new table schema assuming a default table mapping.
|
static void |
AlterTable.alterTable(GeoPackageCoreConnection db,
UserTable<? extends UserColumn> newTable,
TableMapping tableMapping)
Alter a table with a new table schema and table mapping.
|
static void |
AlterTable.copyTable(GeoPackageCoreConnection db,
String tableName,
String newTableName)
Copy the table and row content
|
static void |
AlterTable.copyTable(GeoPackageCoreConnection db,
String tableName,
String newTableName,
boolean transferContent)
Copy the table
|
static void |
AlterTable.copyTable(GeoPackageCoreConnection db,
UserTable<? extends UserColumn> table,
String newTableName)
Copy the table and row content
|
static void |
AlterTable.copyTable(GeoPackageCoreConnection db,
UserTable<? extends UserColumn> table,
String newTableName,
boolean transferContent)
Copy the table
|
static String |
CoreSQLUtils.createName(GeoPackageCoreConnection db,
String name,
String replace,
String replacement)
Create a new name by replacing a case insensitive value with a new value.
|
static void |
AlterTable.dropColumn(GeoPackageCoreConnection db,
String tableName,
String columnName)
Drop a column
|
static void |
AlterTable.dropColumn(GeoPackageCoreConnection db,
UserTable<? extends UserColumn> table,
String columnName)
Drop a column
|
static void |
AlterTable.dropColumns(GeoPackageCoreConnection db,
String tableName,
Collection<String> columnNames)
Drop columns
|
static void |
AlterTable.dropColumns(GeoPackageCoreConnection db,
UserTable<? extends UserColumn> table,
Collection<String> columnNames)
Drop columns
|
static void |
CoreSQLUtils.dropTable(GeoPackageCoreConnection db,
String tableName)
Drop the table if it exists
|
static void |
CoreSQLUtils.dropView(GeoPackageCoreConnection db,
String viewName)
Drop the view if it exists
|
static List<List<Object>> |
CoreSQLUtils.foreignKeyCheck(GeoPackageCoreConnection db)
Perform a foreign key check
|
static List<List<Object>> |
CoreSQLUtils.foreignKeyCheck(GeoPackageCoreConnection db,
String tableName)
Perform a foreign key check
|
static boolean |
CoreSQLUtils.foreignKeys(GeoPackageCoreConnection db)
Query for the foreign keys value
|
static boolean |
CoreSQLUtils.foreignKeys(GeoPackageCoreConnection db,
boolean on)
Change the foreign keys state
|
static String |
CoreSQLUtils.modifySQL(GeoPackageCoreConnection db,
String name,
String sql,
TableMapping tableMapping)
Modify the SQL with a name change and the table mapping modifications
|
static void |
AlterTable.renameColumn(GeoPackageCoreConnection db,
String tableName,
String columnName,
String newColumnName)
Rename a column
|
static void |
AlterTable.renameTable(GeoPackageCoreConnection db,
String tableName,
String newTableName)
Rename a table
|
static String |
CoreSQLUtils.tempTableName(GeoPackageCoreConnection db,
String prefix,
String baseName)
Get an available temporary table name.
|
static void |
CoreSQLUtils.transferTableContent(GeoPackageCoreConnection db,
String tableName,
String columnName,
Object newColumnValue,
Object currentColumnValue)
Transfer table content to itself with new rows containing a new column
value.
|
static void |
CoreSQLUtils.transferTableContent(GeoPackageCoreConnection db,
String tableName,
String columnName,
Object newColumnValue,
Object currentColumnValue,
String idColumnName)
Transfer table content to itself with new rows containing a new column
value.
|
static void |
CoreSQLUtils.transferTableContent(GeoPackageCoreConnection db,
TableMapping tableMapping)
Transfer table content from one table to another
|
static void |
CoreSQLUtils.vacuum(GeoPackageCoreConnection db)
Rebuild the GeoPackage, repacking it into a minimal amount of disk space
|
| Constructor and Description |
|---|
GeoPackageCoreConnection(GeoPackageCoreConnection connection)
Copy Constructor
|
GeoPackageTableCreator(GeoPackageCoreConnection db)
Constructor
|
TableMapping(GeoPackageCoreConnection db,
String tableName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db)
Count the sqlite_master table
|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types)
Count the sqlite_master table
|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types,
String tableName)
Count the sqlite_master table
|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db,
SQLiteMasterQuery query)
Count the sqlite_master table
|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db,
SQLiteMasterType type)
Count the sqlite_master table
|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db,
SQLiteMasterType[] types)
Count the sqlite_master table
|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db,
SQLiteMasterType[] types,
SQLiteMasterQuery query)
Count the sqlite_master table
|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db,
SQLiteMasterType[] types,
String tableName)
Count the sqlite_master table
|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db,
SQLiteMasterType type,
SQLiteMasterQuery query)
Count the sqlite_master table
|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db,
SQLiteMasterType type,
String tableName)
Count the sqlite_master table
|
static int |
SQLiteMaster.count(GeoPackageCoreConnection db,
String tableName)
Count the sqlite_master table
|
static int |
SQLiteMaster.countByType(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types)
Count the sqlite_master table
|
static int |
SQLiteMaster.countByType(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types,
String tableName)
Count the sqlite_master table
|
static int |
SQLiteMaster.countByType(GeoPackageCoreConnection db,
SQLiteMasterType type)
Count the sqlite_master table
|
static int |
SQLiteMaster.countByType(GeoPackageCoreConnection db,
SQLiteMasterType type,
String tableName)
Count the sqlite_master table
|
static int |
SQLiteMaster.countViewsOnTable(GeoPackageCoreConnection db,
String tableName)
Count the sqlite_master views on the table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns,
Collection<SQLiteMasterType> types)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns,
Collection<SQLiteMasterType> types,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns,
SQLiteMasterType type)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns,
SQLiteMasterType type,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterQuery query)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType type)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType[] types)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType[] types,
SQLiteMasterQuery query)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType[] types,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType type,
SQLiteMasterQuery query)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType type,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
SQLiteMasterQuery query)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
SQLiteMasterType type,
SQLiteMasterQuery query)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.query(GeoPackageCoreConnection db,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.queryByType(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.queryByType(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.queryByType(GeoPackageCoreConnection db,
SQLiteMasterType type)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.queryByType(GeoPackageCoreConnection db,
SQLiteMasterType type,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.queryForColumns(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns)
Query the sqlite_master table
|
static SQLiteMaster |
SQLiteMaster.queryForColumns(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns,
String tableName)
Query the sqlite_master table
|
static TableConstraints |
SQLiteMaster.queryForConstraints(GeoPackageCoreConnection db,
String tableName)
Query for the table constraints
|
static SQLiteMaster |
SQLiteMaster.queryViewsOnTable(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
String tableName)
Query the sqlite_master views on the table
|
static SQLiteMaster |
SQLiteMaster.queryViewsOnTable(GeoPackageCoreConnection db,
String tableName)
Query the sqlite_master views on the table
|
| Modifier and Type | Method and Description |
|---|---|
static TableInfo |
TableInfo.info(GeoPackageCoreConnection db,
String tableName)
Query for the table_info of the table name
|
| Modifier and Type | Field and Description |
|---|---|
protected GeoPackageCoreConnection |
RTreeIndexCoreExtension.connection
Connection
|
| Modifier and Type | Method and Description |
|---|---|
GeoPackageCoreConnection |
GeoPackageCoreImpl.getDatabase()
Get the SQLite database
|
| Constructor and Description |
|---|
GeoPackageCoreImpl(String name,
String path,
GeoPackageCoreConnection database,
GeoPackageTableCreator tableCreator,
boolean writable)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
GeoPackageCoreConnection |
UserCoreDao.getDb()
Get the database connection
|
| Modifier and Type | Method and Description |
|---|---|
TTable |
UserTableReader.readTable(GeoPackageCoreConnection db)
Read the table
|
| Constructor and Description |
|---|
UserCoreDao(String database,
GeoPackageCoreConnection db,
UserCoreConnection<TColumn,TTable,TRow,TResult> userDb,
TTable table)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static UserCustomTable |
UserCustomTableReader.readTable(GeoPackageCoreConnection connection,
String tableName)
Read the table
|
Copyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.