net.sourceforge.squirrel_sql.plugins.postgres.commands.handler
Class MessageSQLExecuterHandler
java.lang.Object
net.sourceforge.squirrel_sql.plugins.postgres.commands.handler.ProgressSQLExecuterHandler
net.sourceforge.squirrel_sql.plugins.postgres.commands.handler.MessageSQLExecuterHandler
- All Implemented Interfaces:
- ISQLExecuterHandler
public abstract class MessageSQLExecuterHandler
- extends ProgressSQLExecuterHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_mdialog
protected MessageDialog _mdialog
_startTime
protected long _startTime
_exceptionOccured
protected boolean _exceptionOccured
MessageSQLExecuterHandler
public MessageSQLExecuterHandler(ISession session,
MessageDialog mdialog,
String progressDialogTitle,
String commandPrefix)
sqlToBeExecuted
public void sqlToBeExecuted(String sql)
- Specified by:
sqlToBeExecuted in interface ISQLExecuterHandler- Overrides:
sqlToBeExecuted in class ProgressSQLExecuterHandler
getSuffix
protected abstract String getSuffix(String sql)
- Specified by:
getSuffix in class ProgressSQLExecuterHandler
sqlExecutionComplete
public void sqlExecutionComplete(SQLExecutionInfo info,
int processedStatementCount,
int statementCount)
- Specified by:
sqlExecutionComplete in interface ISQLExecuterHandler- Overrides:
sqlExecutionComplete in class ProgressSQLExecuterHandler
sqlExecutionWarning
public void sqlExecutionWarning(SQLWarning warn)
- Specified by:
sqlExecutionWarning in interface ISQLExecuterHandler- Overrides:
sqlExecutionWarning in class ProgressSQLExecuterHandler
sqlStatementCount
public void sqlStatementCount(int statementCount)
- Specified by:
sqlStatementCount in interface ISQLExecuterHandler- Overrides:
sqlStatementCount in class ProgressSQLExecuterHandler
sqlCloseExecutionHandler
public void sqlCloseExecutionHandler()
- Specified by:
sqlCloseExecutionHandler in interface ISQLExecuterHandler- Overrides:
sqlCloseExecutionHandler in class ProgressSQLExecuterHandler
sqlExecutionCancelled
public void sqlExecutionCancelled()
- Specified by:
sqlExecutionCancelled in interface ISQLExecuterHandler- Overrides:
sqlExecutionCancelled in class ProgressSQLExecuterHandler
sqlDataUpdated
public void sqlDataUpdated(int updateCount)
- Specified by:
sqlDataUpdated in interface ISQLExecuterHandler- Overrides:
sqlDataUpdated in class ProgressSQLExecuterHandler
sqlResultSetAvailable
public void sqlResultSetAvailable(ResultSet rst,
SQLExecutionInfo info,
IDataSetUpdateableTableModel model)
- Specified by:
sqlResultSetAvailable in interface ISQLExecuterHandler- Overrides:
sqlResultSetAvailable in class ProgressSQLExecuterHandler
sqlExecutionException
public void sqlExecutionException(Throwable th,
String postErrorString)
- Specified by:
sqlExecutionException in interface ISQLExecuterHandler- Overrides:
sqlExecutionException in class ProgressSQLExecuterHandler
Copyright © 2001-2010. All Rights Reserved.