org.sqlite.profiler
Class Profiler

java.lang.Object
  extended by org.sqlite.callback.Callback
      extended by org.sqlite.profiler.Profiler

public abstract class Profiler
extends Callback

SQL statement profiling class.

See Also:
Tracing And Profiling Functions, JdbcConnection.setProfiler(Profiler), JdbcConnection.clearProfiler()

Constructor Summary
Profiler()
           
 
Method Summary
protected abstract  void xProfile(java.lang.String sql, long elapseTime)
          Called from the sqlite3_step() function.
 
Methods inherited from class org.sqlite.callback.Callback
isRegistered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profiler

public Profiler()
Method Detail

xProfile

protected abstract void xProfile(java.lang.String sql,
                                 long elapseTime)
Called from the sqlite3_step() function.

Parameters:
sql - SQL to be evaluated
elapseTime - an estimate of wall-clock time of how long that statement took to execute