java.lang.Object | ||
↳ | android.database.sqlite.SQLiteClosable | |
↳ | android.database.sqlite.SQLiteProgram |
Known Direct Subclasses |
A base class for compiled SQLite programs.
This class is not thread-safe.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Given an array of String bindArgs, this method binds all of them in one single call.
| |||||||||||
Bind a byte array value to this statement.
| |||||||||||
Bind a double value to this statement.
| |||||||||||
Bind a long value to this statement.
| |||||||||||
Bind a NULL value to this statement.
| |||||||||||
Bind a String value to this statement.
| |||||||||||
Clears all existing bindings.
| |||||||||||
This method was deprecated
in API level 11.
This method is deprecated and must not be used.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the last reference to the object was released by
a call to
releaseReference() or close() . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.database.sqlite.SQLiteClosable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
|
Given an array of String bindArgs, this method binds all of them in one single call.
bindArgs | the String array of bind args, none of which must be null. |
---|
Bind a byte array value to this statement. The value remains bound until
clearBindings()
is called.
index | The 1-based index to the parameter to bind |
---|---|
value | The value to bind, must not be null |
Bind a double value to this statement. The value remains bound until
clearBindings()
is called.
index | The 1-based index to the parameter to bind |
---|---|
value | The value to bind |
Bind a long value to this statement. The value remains bound until
clearBindings()
is called.
addToBindArgs
index | The 1-based index to the parameter to bind |
---|---|
value | The value to bind |
Bind a NULL value to this statement. The value remains bound until
clearBindings()
is called.
index | The 1-based index to the parameter to bind null to |
---|
Bind a String value to this statement. The value remains bound until
clearBindings()
is called.
index | The 1-based index to the parameter to bind |
---|---|
value | The value to bind, must not be null |
Clears all existing bindings. Unset bindings are treated as NULL.
This method was deprecated
in API level 11.
This method is deprecated and must not be used.
Unimplemented.
Called when the last reference to the object was released by
a call to releaseReference()
or close()
.