public class DropTable extends SchemaCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement| Constructor and Description |
|---|
DropTable(Session session,
Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNextDropTable(DropTable drop)
Chain another drop table statement to this statement.
|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setDropAction(int dropAction) |
void |
setIfExists(boolean b) |
void |
setTableName(String tableName) |
int |
update()
Execute the statement.
|
getSchemaisReadOnly, isTransactional, queryMeta, setTransactionalcheckCanceled, checkParameters, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSQL, getSQL, getSQL, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toStringpublic void addNextDropTable(DropTable drop)
drop - the statement to addpublic void setIfExists(boolean b)
public void setTableName(String tableName)
public int update()
Preparedpublic void setDropAction(int dropAction)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.