|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectandroid.database.sqlite.SQLiteClosable
org.h2.android.H2Closable
org.h2.android.H2Program
public class H2Program
This class represents a prepared statement.
| Field Summary | |
|---|---|
protected Prepared |
prepared
The prepared statement |
| Method Summary | |
|---|---|
void |
bindBlob(int index,
byte[] value)
Set the specified parameter value. |
void |
bindDouble(int index,
double value)
Set the specified parameter value. |
void |
bindLong(int index,
long value)
Set the specified parameter value. |
void |
bindNull(int index)
Set the specified parameter to NULL. |
void |
bindString(int index,
java.lang.String value)
Set the specified parameter value. |
void |
clearBindings()
Reset all parameter values. |
void |
close()
Close the statement. |
int |
getUniqueId()
Get the unique id of this statement. |
protected void |
onAllReferencesReleased()
TODO |
protected void |
onAllReferencesReleasedFromContainer()
TODO |
| Methods inherited from class org.h2.android.H2Closable |
|---|
acquireReference, releaseReference, releaseReferenceFromContainer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Prepared prepared
| Method Detail |
|---|
public void bindBlob(int index,
byte[] value)
index - the parameter index (0, 1,...)value - the new value
public void bindDouble(int index,
double value)
index - the parameter index (0, 1,...)value - the new value
public void bindLong(int index,
long value)
index - the parameter index (0, 1,...)value - the new valuepublic void bindNull(int index)
index - the parameter index (0, 1,...)
public void bindString(int index,
java.lang.String value)
index - the parameter index (0, 1,...)value - the new valuepublic void clearBindings()
public void close()
public final int getUniqueId()
protected void onAllReferencesReleased()
onAllReferencesReleased in class H2Closableprotected void onAllReferencesReleasedFromContainer()
onAllReferencesReleasedFromContainer in class H2Closable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||