org.sqlite.callback
Class ExecCallback

java.lang.Object
  extended by org.sqlite.callback.Callback
      extended by org.sqlite.callback.ExecCallback

public abstract class ExecCallback
extends Callback

Callback function class for sqlite3_exec() function.

See Also:
One-Step Query Execution Interface, Database.execute(String, ExecCallback, SWIGTYPE_p_p_char)

Constructor Summary
ExecCallback()
           
 
Method Summary
 void register(SWIGTYPE_p_sqlite3 db)
          Not supported.
 void unregister(SWIGTYPE_p_sqlite3 db)
          Not supported.
protected abstract  int xCallback(java.lang.String[] values, java.lang.String[] columnNames)
          invoked once for each row of any query results produced by the SQL statements.
 
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

ExecCallback

public ExecCallback()
Method Detail

register

public final void register(SWIGTYPE_p_sqlite3 db)
Not supported.

Specified by:
register in class Callback
Parameters:
db - the database handle.

unregister

public final void unregister(SWIGTYPE_p_sqlite3 db)
Not supported.

Specified by:
unregister in class Callback
Parameters:
db - the database handle.

xCallback

protected abstract int xCallback(java.lang.String[] values,
                                 java.lang.String[] columnNames)
invoked once for each row of any query results produced by the SQL statements.

Parameters:
values - an array of strings holding the values for each column.
columnNames - an array of strings holding the names of each column.
Returns:
0 if the operation is continued. non-zero if the operation is aborted.