public class DropTablesCommand extends DatabaseCommand
_addIdentityUsingAlterTable, _isolationLevel, _platformConf| Constructor and Description |
|---|
DropTablesCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(DatabaseTaskBase task,
Database model)
Executes this command.
|
boolean |
isRequiringModel()
Specifies whether this command requires a model, i.e.
|
void |
setTableFilter(String tableNameRegExp)
Sets the regular expression matching the names of the tables to be removed.
|
void |
setTables(String tableNameList)
Sets the names of the tables to be removed, as a comma-separated list.
|
getCatalogPattern, getDatabaseType, getDataSource, getIsolationLevel, getPlatform, getSchemaPattern, isAddIdentityUsingAlterTable, setAddIdentityUsingAlterTable, setIsolationLevel, setPlatformConfigurationhandleException, isFailOnError, setFailOnErrorpublic void setTables(String tableNameList)
tableNameList - The comma-separated list of table namespublic void setTableFilter(String tableNameRegExp)
tableNameRegExp - The regular expression; see Pattern
for detailspublic boolean isRequiringModel()
Command.execute(DatabaseTaskBase, Database) cannot be null.isRequiringModel in class DatabaseCommandtrue if this command requires a modelpublic void execute(DatabaseTaskBase task, Database model) throws org.apache.tools.ant.BuildException
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.