|
||||||||
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
org.h2.android.H2Statement
public class H2Statement
Represents a prepared statement.
Field Summary |
---|
Fields inherited from class org.h2.android.H2Program |
---|
prepared |
Method Summary | |
---|---|
void |
execute()
Execute the statement. |
long |
executeInsert()
Execute the insert statement and return the id of the inserted row. |
long |
simpleQueryForLong()
Execute the query and return the value of the first column and row as a long. |
java.lang.String |
simpleQueryForString()
Execute the query and return the value of the first column and row as a string. |
Methods inherited from class org.h2.android.H2Program |
---|
bindBlob, bindDouble, bindLong, bindNull, bindString, clearBindings, close, getUniqueId, onAllReferencesReleased, onAllReferencesReleasedFromContainer |
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 |
Method Detail |
---|
public void execute()
public long executeInsert()
public long simpleQueryForLong()
public java.lang.String simpleQueryForString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |