public abstract class GeoPackageCoreConnection extends Object implements Closeable
| Constructor and Description |
|---|
GeoPackageCoreConnection() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close() |
abstract int |
count(String table,
String where,
String[] args)
Get a count of results
|
abstract int |
delete(String table,
String whereClause,
String[] whereArgs)
Convenience method for deleting rows in the database.
|
abstract void |
execSQL(String sql)
Execute the sql
|
abstract ConnectionSource |
getConnectionSource()
Get a connection source
|
abstract Integer |
max(String table,
String column,
String where,
String[] args)
Get the max result of the column
|
abstract Integer |
min(String table,
String column,
String where,
String[] args)
Get the min result of the column
|
void |
setApplicationId()
Set the GeoPackage application id
|
boolean |
tableExists(String tableName)
Check if the table exists
|
public abstract ConnectionSource getConnectionSource()
public abstract void execSQL(String sql)
sql - public abstract int delete(String table, String whereClause, String[] whereArgs)
table - whereClause - whereArgs - public abstract int count(String table, String where, String[] args)
table - where - args - public abstract Integer min(String table, String column, String where, String[] args)
table - column - where - args - public abstract Integer max(String table, String column, String where, String[] args)
table - column - where - args - public abstract void close()
close in interface Closeableclose in interface AutoCloseablepublic boolean tableExists(String tableName)
tableName - public void setApplicationId()
Copyright © 2016 National Geospatial-Intelligence Agency. All rights reserved.