net.sourceforge.squirrel_sql.plugins.postgres.commands
Class AbstractPostgresCommand
java.lang.Object
net.sourceforge.squirrel_sql.plugins.postgres.commands.AbstractPostgresCommand
- All Implemented Interfaces:
- ICommand
- Direct Known Subclasses:
- AbstractPostgresDialogCommand
public abstract class AbstractPostgresCommand
- extends Object
- implements ICommand
|
Method Summary |
protected abstract String[] |
generateSQLStatements()
The subclass should implement this so that getSQLStatements can generate the actual statements. |
protected void |
getSQLStatements(SQLResultListener listener)
Adds a new task to the ThreadPool that generates the SQL statements and
notifies the listener when the statements are ready. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sourceforge.squirrel_sql.fw.util.ICommand |
execute |
_session
protected ISession _session
- Current session.
AbstractPostgresCommand
public AbstractPostgresCommand(ISession session)
generateSQLStatements
protected abstract String[] generateSQLStatements()
- The subclass should implement this so that getSQLStatements can generate the actual statements.
- Returns:
- the sql statements
getSQLStatements
protected void getSQLStatements(SQLResultListener listener)
- Adds a new task to the ThreadPool that generates the SQL statements and
notifies the listener when the statements are ready.
- Parameters:
listener - the listener to notify when the statments are ready
Copyright © 2001-2010. All Rights Reserved.