Class Overview
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.
Summary
| 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.
|
|
void
|
close()
Release this program's resources, making it invalid.
|
|
[Expand]
Inherited Methods |
From class android.database.sqlite.SQLiteProgram
|
void
|
bindBlob(int index, byte[] value)
Bind a byte array value to this statement.
|
|
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.
|
|
void
|
clearBindings()
Clears all existing bindings.
|
|
void
|
close()
Release this program's resources, making it invalid.
|
|
void
|
compile(String sql, boolean forceCompilation)
Compiles the given SQL into a SQLite byte code program using sqlite3_prepare_v2().
|
|
void
|
finalize()
Make sure that the native resource is cleaned up.
|
|
final
int
|
getUniqueId()
Returns a unique identifier for this program.
|
|
final
void
|
native_bind_blob(int index, byte[] value)
|
|
final
void
|
native_bind_double(int index, double value)
|
|
final
void
|
native_bind_long(int index, long value)
|
|
final
void
|
native_bind_null(int index)
|
|
final
void
|
native_bind_string(int index, String value)
|
|
final
void
|
native_compile(String sql)
Compiles SQL into a SQLite program.
|
|
final
void
|
native_finalize()
|
|
void
|
onAllReferencesReleased()
|
|
void
|
onAllReferencesReleasedFromContainer()
|
|
From class android.database.sqlite.SQLiteClosable
|
From class java.lang.Object
|
Object
|
clone()
Returns a new instance of the same class as the receiver, whose slots
have been filled in with the values in the slots of the receiver.
|
|
boolean
|
equals(Object o)
Compares the argument to the receiver, and returns true if they represent
the same object using a class specific comparison.
|
|
void
|
finalize()
Called by the virtual machine when there are no longer any (non-weak)
references to the receiver.
|
|
final
Class<? extends Object>
|
getClass()
Returns the unique instance of java.lang.Class which represents the class
of the receiver.
|
|
int
|
hashCode()
Returns an integer hash code for the receiver.
|
|
final
void
|
notify()
Causes one thread which is wait ing on the receiver to be
made ready to run.
|
|
final
void
|
notifyAll()
Causes all threads which are wait ing on the receiver to
be made ready to run.
|
|
String
|
toString()
Returns a string containing a concise, human-readable description of the
receiver.
|
|
final
void
|
wait(long time, int frac)
Causes the thread which sent this message to be made not ready to run
either pending some change in the receiver (as indicated by
notify or notifyAll) or the expiration of
the timeout.
|
|
final
void
|
wait(long time)
Causes the thread which sent this message to be made not ready to run
either pending some change in the receiver (as indicated by
notify or notifyAll) or the expiration of
the timeout.
|
|
final
void
|
wait()
Causes the thread which sent this message to be made not ready to run
pending some change in the receiver (as indicated by notify
or notifyAll).
|
|
Public Methods
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
|
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
|
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
|
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
|
public
void
close
()
Release this program's resources, making it invalid.