public class GeoPackageConnection extends GeoPackageCoreConnection
| Constructor and Description |
|---|
GeoPackageConnection(SQLiteDatabase db)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
count(String table,
String where,
String[] args) |
int |
delete(String table,
String whereClause,
String[] whereArgs) |
void |
execSQL(String sql) |
ConnectionSource |
getConnectionSource() |
SQLiteDatabase |
getDb()
Get the database connection
|
Integer |
max(String table,
String column,
String where,
String[] args) |
Integer |
min(String table,
String column,
String where,
String[] args) |
Cursor |
rawQuery(String sql,
String[] args)
Perform a raw database query
|
setApplicationId, tableExistspublic GeoPackageConnection(SQLiteDatabase db)
db - public SQLiteDatabase getDb()
public ConnectionSource getConnectionSource()
getConnectionSource in class GeoPackageCoreConnectionpublic void execSQL(String sql)
execSQL in class GeoPackageCoreConnectionpublic int delete(String table, String whereClause, String[] whereArgs)
delete in class GeoPackageCoreConnectionpublic int count(String table, String where, String[] args)
count in class GeoPackageCoreConnectionpublic Integer min(String table, String column, String where, String[] args)
min in class GeoPackageCoreConnectionpublic Integer max(String table, String column, String where, String[] args)
max in class GeoPackageCoreConnectionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class GeoPackageCoreConnection