| net.sourceforge.squirrel_sql.client.session.ISQLExecuterHandler
All known Subclasses: net.sourceforge.squirrel_sql.client.session.DefaultSQLExecuterHandler,
ISQLExecuterHandler | public interface ISQLExecuterHandler (Code) | | This interface is the call back interface used during execution
of SQl via the SQLExecuter
author: Jason Height |
sqlCloseExecutionHandler | public void sqlCloseExecutionHandler()(Code) | | Tell the execution handler that we don't need it anymore
In SQLExecutionHandler this will close the cancel panel.
|
sqlDataUpdated | public void sqlDataUpdated(int updateCount)(Code) | | Called if the execution of the sql caused data to be updated.
The updateCount can be 0 especially when the database structure changed
or the update count is not supported by the database.
This callback is called from the thread that the SQLExecuter is running on.
It may or may not be the Swing thread so card should be taken with any gui actions
|
sqlExecutionCancelled | public void sqlExecutionCancelled()(Code) | | Called if another thread cancels the sql execution
This callback is called from the thread that the SQLExecuter is running on.
It may or may not be the Swing thread so card should be taken with any gui actions
It is called AFTER the SQLExecutor has cancelled out its execution.
|
sqlExecutionComplete | public void sqlExecutionComplete(SQLExecutionInfo info, int processedStatementCount, int statementCount)(Code) | | Called when the SQLExecutor succesfully completes execution of a sql
statement.
|
sqlExecutionException | public void sqlExecutionException(Throwable ex, String postErrorString)(Code) | | Called when the SQLExecutor terminates due to an exception
|
sqlExecutionWarning | public void sqlExecutionWarning(SQLWarning warn)(Code) | | Called when a SQLWarning is received during execuion of the sql
|
sqlResultSetAvailable | public void sqlResultSetAvailable(ResultSet rst, SQLExecutionInfo info, IDataSetUpdateableTableModel model) throws DataSetException(Code) | | Called when the execution of the sql caused data to be returned.
This can fire multiple times if there are multiple result sets.
This callback is called from the thread that the SQLExecuter is running on.
It may or may not be the Swing thread so card should be taken with any gui actions
|
sqlStatementCount | public void sqlStatementCount(int statementCount)(Code) | | To set the number of statements that will be executed
|
sqlToBeExecuted | public void sqlToBeExecuted(String sql)(Code) | | Called just prior to the sql being executed
This event is fired once for each sql statement that is executed.
It signals the start of a new sql execution.
This callback is called from the thread that the SQLExecuter is running on.
It may or may not be the Swing thread so card should be taken with any gui actions
|
|
|