public class TruncateTable extends DefineCommand
transactional
create, parameters, prepareAlways, session, sqlStatement, sqlTokens
Constructor and Description |
---|
TruncateTable(SessionLocal session) |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setRestart(boolean restart) |
void |
setTable(Table table) |
long |
update()
Execute the statement.
|
isReadOnly, isRetryable, isTransactional, queryMeta, setTransactional
checkCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getDatabase, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, isCacheable, isQuery, isWithParamValues, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, setWithParamValues, toString
public TruncateTable(SessionLocal session)