public final class DropTable extends Object implements UpdateScript
UpdateableDataContext. Instead of providing a custom implementation
of the UpdateScript interface, one can use this pre-built drop table
implementation. Some DataContexts may even optimize specifically
based on the knowledge that there will only be a single table dropped.| Constructor and Description |
|---|
DropTable(Schema schema,
String tableName) |
DropTable(String tableName) |
DropTable(String schemaName,
String tableName) |
DropTable(Table table) |
| Modifier and Type | Method and Description |
|---|---|
void |
run(UpdateCallback callback)
Invoked by MetaModel when the update script should be run.
|
public DropTable(Table table)
public DropTable(String tableName)
public void run(UpdateCallback callback)
UpdateScriptUpdateCallback.run in interface UpdateScriptCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.