Example usage for Java android.database.sqlite SQLiteStatement fields, constructors, methods, implement or subclass
The text is from its open source code.
void | bindAllArgsAsStrings(String[] bindArgs) Given an array of String bindArgs, this method binds all of them in one single call. |
void | bindBlob(int index, byte[] value) Bind a byte array value to this statement. |
void | bindDouble(int index, double value) Bind a double value to this statement. |
void | bindLong(int index, long value) Bind a long value to this statement. |
void | bindNull(int index) Bind a NULL value to this statement. |
void | bindString(int index, String value) Bind a String value to this statement. |
void | clearBindings() Clears all existing bindings. |
void | close() Releases a reference to the object, closing the object if the last reference was released. |
void | execute() Execute this SQL statement, if it is not a SELECT / INSERT / DELETE / UPDATE, for example CREATE / DROP table, view, trigger, index etc. |
long | executeInsert() Execute this SQL statement and return the ID of the row inserted due to this call. |
int | executeUpdateDelete() Execute this SQL statement, if the number of rows affected by execution of this SQL statement is of any importance to the caller - for example, UPDATE / DELETE SQL statements. |
ParcelFileDescriptor | simpleQueryForBlobFileDescriptor() Executes a statement that returns a 1 by 1 table with a blob value. |
long | simpleQueryForLong() Execute a statement that returns a 1 by 1 table with a numeric value. |
String | simpleQueryForString() Execute a statement that returns a 1 by 1 table with a text value. |