public interface GeoPackageSQLiteDatabase
| Modifier and Type | Method and Description |
|---|---|
void |
beginTransaction()
Begin a transaction
|
void |
close()
Close the connection
|
int |
delete(String table,
String whereClause,
String[] whereArgs)
Delete from table
|
void |
endAndBeginTransaction()
End a transaction as successful and begin a new transaction
|
void |
endTransaction()
End a transaction as successful
|
void |
endTransaction(boolean successful)
End a transaction
|
void |
execSQL(String sql)
Execute SQL
|
long |
insert(String table,
String nullColumnHack,
ContentValues values)
Insert into a table
|
long |
insertOrThrow(String table,
String nullColumnHack,
ContentValues values)
Insert into a table
|
boolean |
inTransaction()
Determine if currently within a transaction
|
Cursor |
query(String table,
String[] columns,
String[] columnsAs,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy)
Query the table
|
Cursor |
query(String table,
String[] columns,
String[] columnsAs,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the table
|
Cursor |
query(String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy)
Query the table
|
Cursor |
query(String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the table
|
Cursor |
rawQuery(String sql,
String[] selectionArgs)
Raw query
|
int |
update(String table,
ContentValues values,
String whereClause,
String[] whereArgs)
Update the table
|
void execSQL(String sql) throws SQLException
sql - sql commandSQLExceptionSQLiteDatabase.execSQL(String)void beginTransaction()
void endTransaction()
void endTransaction(boolean successful)
successful - true to commit, false to rollbackvoid endAndBeginTransaction()
boolean inTransaction()
int delete(String table, String whereClause, String[] whereArgs)
table - table namewhereClause - where clausewhereArgs - where argumentsSQLiteDatabase.delete(String, String, String[])Cursor rawQuery(String sql, String[] selectionArgs)
sql - sql commandselectionArgs - selection argumentsSQLiteDatabase.rawQuery(String, String[])void close()
SQLiteClosable.close()Cursor query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy)
table - table namecolumns - columnsselection - selectionselectionArgs - selection argumentsgroupBy - group byhaving - havingorderBy - order bySQLiteDatabase.query(String, String[], String, String[], String, String, String)Cursor query(String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy)
table - table namecolumns - columnscolumnsAs - columns asselection - selectionselectionArgs - selection argumentsgroupBy - group byhaving - havingorderBy - order bySQLiteDatabase.query(String, String[], String, String[], String, String, String)Cursor query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit)
table - table namecolumns - columnsselection - selectionselectionArgs - selection argumentsgroupBy - group byhaving - havingorderBy - order bylimit - limitSQLiteDatabase.query(String, String[], String, String[], String, String, String, String)Cursor query(String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit)
table - table namecolumns - columnscolumnsAs - columns asselection - selectionselectionArgs - selection argumentsgroupBy - group byhaving - havingorderBy - order bylimit - limitSQLiteDatabase.query(String, String[], String, String[], String, String, String, String)int update(String table, ContentValues values, String whereClause, String[] whereArgs)
table - table namevalues - content valueswhereClause - where clausewhereArgs - where argumentsSQLiteDatabase.update(String, ContentValues, String, String[])long insertOrThrow(String table, String nullColumnHack, ContentValues values) throws SQLException
table - table namenullColumnHack - null column hackvalues - content valuesSQLExceptionSQLiteDatabase.insertOrThrow(String, String, ContentValues)long insert(String table, String nullColumnHack, ContentValues values)
table - table namenullColumnHack - null column hackvalues - content valuesSQLiteDatabase.insert(String, String, ContentValues)