public class SQLiteQuery extends SQLiteProgram
mDatabase, nHandle, nStatement
Modifier and Type | Method and Description |
---|---|
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,
java.lang.String value)
Bind a String value to this statement.
|
void |
close()
Release this program's resources, making it invalid.
|
java.lang.String |
toString() |
bindBlob, clearBindings, compile, getUniqueId, native_bind_blob, native_bind_double, native_bind_long, native_bind_null, native_bind_string, native_compile, native_finalize, onAllReferencesReleased, onAllReferencesReleasedFromContainer
acquireReference, releaseReference, releaseReferenceFromContainer
public java.lang.String toString()
toString
in class java.lang.Object
public void close()
SQLiteProgram
close
in class SQLiteProgram
public void bindNull(int index)
SQLiteProgram
SQLiteProgram.clearBindings()
is called.bindNull
in class SQLiteProgram
index
- The 1-based index to the parameter to bind null topublic void bindLong(int index, long value)
SQLiteProgram
SQLiteProgram.clearBindings()
is called.bindLong
in class SQLiteProgram
index
- The 1-based index to the parameter to bindvalue
- The value to bindpublic void bindDouble(int index, double value)
SQLiteProgram
SQLiteProgram.clearBindings()
is called.bindDouble
in class SQLiteProgram
index
- The 1-based index to the parameter to bindvalue
- The value to bindpublic void bindString(int index, java.lang.String value)
SQLiteProgram
SQLiteProgram.clearBindings()
is called.bindString
in class SQLiteProgram
index
- The 1-based index to the parameter to bindvalue
- The value to bind