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
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
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

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.