Reference:Android.database.sqlite.SQLiteQuery

From Triled Wiki

Jump to: navigation, search


android.database.sqlite
public class android.database.sqlite.SQLiteQuery

java.lang.Object
android.database.sqlite.SQLiteProgram SQLiteClosable
android.database.sqlite.SQLiteQuery

A SQLite program that represents a query that reads the resulting rows into a CursorWindow. This class is used by SQLiteCursor and isn't useful itself.

Contents

[edit] Summary


[edit] Fields inherited from class android.database.sqlite.SQLiteProgram

mDatabase, nHandle, nStatement

[edit] Public Methods

        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.

[edit] Methods inherited from class android.database.sqlite.SQLiteProgram
bindDouble, bindLong, bindNull, bindString, clearBindings, close, compile, finalize, getUniqueId, native_compile
[edit] Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
[edit] Methods inherited from interface android.database.sqlite.SQLiteClosable

close

[edit] Details

[edit] Public Methods

[edit] public void bindDouble(int index, double value)

Bind a double value to this statement. The value remains bound until clearBindings() is called.

Parameters

index The 1-based index to the parameter to bind
value The value to bind

[edit] public void bindLong(int index, long value)

Bind a long value to this statement. The value remains bound until clearBindings() is called.

Parameters

index The 1-based index to the parameter to bind
value The value to bind

[edit] public void bindNull(int index)

Bind a NULL value to this statement. The value remains bound until clearBindings() is called.

Parameters

index The 1-based index to the parameter to bind null to

[edit] public void bindString(int index, String value)

Bind a String value to this statement. The value remains bound until clearBindings() is called.

Parameters

index The 1-based index to the parameter to bind
value The value to bind

[edit] References

Personal tools