public class GeoPackageDatabase extends Object
| Constructor and Description |
|---|
GeoPackageDatabase(SQLiteDatabase db)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
delete(String table,
String whereClause,
String[] whereArgs) |
void |
execSQL(String sql) |
SQLiteDatabase |
getDb()
Get the SQLite database connection
|
long |
insert(String table,
String nullColumnHack,
ContentValues values) |
long |
insertOrThrow(String table,
String nullColumnHack,
ContentValues values) |
Cursor |
query(String table,
String[] columns,
String[] columnsAs,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy) |
Cursor |
query(String table,
String[] columns,
String[] columnsAs,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit) |
Cursor |
query(String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy) |
Cursor |
query(String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit) |
Cursor |
rawQuery(String sql,
String[] selectionArgs) |
int |
update(String table,
ContentValues values,
String whereClause,
String[] whereArgs) |
public GeoPackageDatabase(SQLiteDatabase db)
db - databasepublic SQLiteDatabase getDb()
public void execSQL(String sql) throws SQLException
SQLExceptionSQLiteDatabase.execSQL(String)public void close()
SQLiteClosable.close()public Cursor query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy)
public Cursor query(String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy)
SQLiteDatabase.query(String, String[], String, String[], String, String, String)public Cursor query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit)
public Cursor query(String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit)
SQLiteDatabase.query(String, String[], String, String[], String, String, String, String)public int update(String table, ContentValues values, String whereClause, String[] whereArgs)
public long insertOrThrow(String table, String nullColumnHack, ContentValues values) throws SQLException
SQLExceptionSQLiteDatabase.insertOrThrow(String, String, ContentValues)public long insert(String table, String nullColumnHack, ContentValues values)