public class DropTable extends DefineCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement, sqlTokens| Constructor and Description |
|---|
DropTable(SessionLocal session) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTable(Schema schema,
java.lang.String tableName)
Add a table to drop.
|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setDropAction(ConstraintActionType dropAction) |
void |
setIfExists(boolean b) |
long |
update()
Execute the statement.
|
isReadOnly, isTransactional, queryMeta, setTransactionalcheckCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, isCacheable, isQuery, isWithParamValues, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, setWithParamValues, toStringpublic DropTable(SessionLocal session)
public void setIfExists(boolean b)
public void addTable(Schema schema, java.lang.String tableName)
schema - the schematableName - the table namepublic long update()
Preparedpublic void setDropAction(ConstraintActionType dropAction)