Java android.database.sqlite SQLiteStatement fields, constructors, methods, implement or subclass

Example usage for Java android.database.sqlite SQLiteStatement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.database.sqlite SQLiteStatement.

The text is from its open source code.

Method

voidbindAllArgsAsStrings(String[] bindArgs)
Given an array of String bindArgs, this method binds all of them in one single call.
voidbindBlob(int index, byte[] value)
Bind a byte array value to this statement.
voidbindDouble(int index, double value)
Bind a double value to this statement.
voidbindLong(int index, long value)
Bind a long value to this statement.
voidbindNull(int index)
Bind a NULL value to this statement.
voidbindString(int index, String value)
Bind a String value to this statement.
voidclearBindings()
Clears all existing bindings.
voidclose()
Releases a reference to the object, closing the object if the last reference was released.
voidexecute()
Execute this SQL statement, if it is not a SELECT / INSERT / DELETE / UPDATE, for example CREATE / DROP table, view, trigger, index etc.
longexecuteInsert()
Execute this SQL statement and return the ID of the row inserted due to this call.
intexecuteUpdateDelete()
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.
ParcelFileDescriptorsimpleQueryForBlobFileDescriptor()
Executes a statement that returns a 1 by 1 table with a blob value.
longsimpleQueryForLong()
Execute a statement that returns a 1 by 1 table with a numeric value.
StringsimpleQueryForString()
Execute a statement that returns a 1 by 1 table with a text value.