|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sqlite.callback.Callback
org.sqlite.event.ProgressHandler
public abstract class ProgressHandler
Query Progress Callbacks class.
JdbcConnection.setProgressHandler(ProgressHandler),
JdbcConnection.clearProgressHandler()| Constructor Summary | |
|---|---|
ProgressHandler(int opecodes)
default constructor. |
|
| Method Summary | |
|---|---|
int |
getOpCodes()
Returns the number of opcodes for progress callback |
void |
register(SWIGTYPE_p_sqlite3 db)
invoke sqlite3_progress_handler() function and this object is registered in the database. WARNING! Do not use this method because it is called internally. |
void |
unregister(SWIGTYPE_p_sqlite3 db)
Unregister this object from the database. WARNING! Do not use this method because it is called internally. |
protected abstract int |
xProgress()
Called from the sqlite3_exec(), sqlite3_step(), sqlite3_get_table() function. |
| Methods inherited from class org.sqlite.callback.Callback |
|---|
delete, isRegistered |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressHandler(int opecodes)
opecodes - the number of opcodes for progress callback| Method Detail |
|---|
public final void register(SWIGTYPE_p_sqlite3 db)
register in class Callbackdb - the database handle.Database.setProgressHandler(ProgressHandler)public final void unregister(SWIGTYPE_p_sqlite3 db)
unregister in class Callbackdb - the database handle.Database.clearProgressHandler()public int getOpCodes()
protected abstract int xProgress()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||