net.sourceforge.squirrel_sql.plugins.postgres.commands
Class VacuumTableCommand
java.lang.Object
net.sourceforge.squirrel_sql.plugins.postgres.commands.AbstractPostgresCommand
net.sourceforge.squirrel_sql.plugins.postgres.commands.AbstractPostgresDialogCommand
net.sourceforge.squirrel_sql.plugins.postgres.commands.VacuumTableCommand
- All Implemented Interfaces:
- ICommand
public class VacuumTableCommand
- extends AbstractPostgresDialogCommand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_mainDialog
protected VacuumTableDialog _mainDialog
- Main dialog
_infos
protected final ITableInfo[] _infos
- Selected database object(s)
VacuumTableCommand
public VacuumTableCommand(ISession session,
IDatabaseObjectInfo[] infos)
execute
public void execute()
throws BaseException
- Execute this command.
- Throws:
BaseException
showDialog
protected void showDialog(ITableInfo[] tableinfos)
generateSQLStatements
protected String[] generateSQLStatements()
- Generates the SQL command
- Specified by:
generateSQLStatements in class AbstractPostgresCommand
- Returns:
- the sql statements
executeScript
protected void executeScript(String script)
- Executes an sql script.
- Specified by:
executeScript in class AbstractPostgresDialogCommand
- Parameters:
script - the sql script that should be executed
Copyright © 2001-2010. All Rights Reserved.