org.sqlite.event
クラス ProgressHandler

java.lang.Object
  上位を拡張 org.sqlite.callback.Callback
      上位を拡張 org.sqlite.event.ProgressHandler

public abstract class ProgressHandler
extends Callback

Query Progress Callbacks class.

関連項目:
Query Progress Callbacks, JdbcConnection.setProgressHandler(ProgressHandler), JdbcConnection.clearProgressHandler()

コンストラクタの概要
ProgressHandler(int opecodes)
          default constructor.
 
メソッドの概要
 int getOpCodes()
           
protected abstract  int xProgress()
          Called from the sqlite3_exec(), sqlite3_step(), sqlite3_get_table() function.
 
クラス org.sqlite.callback.Callback から継承されたメソッド
isRegistered
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ProgressHandler

public ProgressHandler(int opecodes)
default constructor.

パラメータ:
opecodes - the number of opcodes for progress callback
メソッドの詳細

getOpCodes

public int getOpCodes()
戻り値:
the number of opcodes for progress callback

xProgress

protected abstract int xProgress()
Called from the sqlite3_exec(), sqlite3_step(), sqlite3_get_table() function.

戻り値:
0 if the operation is continued. non-zero if the operation is interrupted.