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 com.j256.ormlite.support.ConnectionSource |
getConnectionSource()
Get a connection source
|
void |
setApplicationId()
Set the GeoPackage application id
|
boolean |
tableExists(String tableName)
Check if the table exists
|
public abstract com.j256.ormlite.support.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 void close()
close in interface Closeableclose in interface AutoCloseablepublic boolean tableExists(String tableName)
tableName - public void setApplicationId()
Copyright © 2015 National Geospatial-Intelligence Agency. All rights reserved.