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 DataContext
s 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)
UpdateScript
UpdateCallback
.run
in interface UpdateScript
run
in interface Action<UpdateCallback>
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.