SupportSQLiteProgram
public interface SupportSQLiteProgram extends Closeable
SupportSQLiteStatement |
An interface to map the behavior of |
An interface to map the behavior of android.database.sqlite.SQLiteProgram.
Summary
Public methods |
|
|---|---|
abstract void |
Bind a byte array value to this statement. |
abstract void |
bindDouble(int index, double value)Bind a double value to this statement. |
abstract void |
bindLong(int index, long value)Bind a long value to this statement. |
abstract void |
bindNull(int index)Bind a NULL value to this statement. |
abstract void |
bindString(int index, @NonNull String value)Bind a String value to this statement. |
abstract void |
Clears all existing bindings. |
Inherited methods |
||
|---|---|---|
|
Public methods
bindBlob
abstract void bindBlob(int index, @NonNull byte[] value)
Bind a byte array value to this statement. The value remains bound until .clearBindings is called.
| Parameters | |
|---|---|
int index |
The 1-based index to the parameter to bind |
@NonNull byte[] value |
The value to bind, must not be null |
bindDouble
abstract void bindDouble(int index, double value)
Bind a double value to this statement. The value remains bound until .clearBindings is called.
| Parameters | |
|---|---|
int index |
The 1-based index to the parameter to bind |
double value |
The value to bind |
bindLong
abstract void bindLong(int index, long value)
Bind a long value to this statement. The value remains bound until clearBindings is called. addToBindArgs
| Parameters | |
|---|---|
int index |
The 1-based index to the parameter to bind |
long value |
The value to bind |
bindNull
abstract void bindNull(int index)
Bind a NULL value to this statement. The value remains bound until .clearBindings is called.
| Parameters | |
|---|---|
int index |
The 1-based index to the parameter to bind null to |
bindString
abstract void bindString(int index, @NonNull String value)
Bind a String value to this statement. The value remains bound until .clearBindings is called.
clearBindings
abstract void clearBindings()
Clears all existing bindings. Unset bindings are treated as NULL.