android.database.sqlite.SQLiteStatement
A pre-compiled statement against a SQLiteDatabase that can be reused.
The statement cannot return multiple rows, but 1x1 result sets are allowed.
Summary
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Methods
public
void
execute()
Execute this SQL statment, if it is not a query. For example,
CREATE TABLE, DELTE, INSERT, etc.
public
long
simpleQueryForLong()
Execute a statement that returns a 1 by 1 table with a numeric value.
For example, SELECT COUNT(*) FROM table;
public
String
simpleQueryForString()
Execute a statement that returns a 1 by 1 table with a text value.
For example, SELECT COUNT(*) FROM table;