public class TruncateCommand extends BaseAxionCommand
TRUNCATE TABLE
command.Constructor and Description |
---|
TruncateCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkConstraint(Database db,
Table table) |
boolean |
execute(Database db)
Executes an SQL statement that may return multiple results.
|
AxionResultSet |
executeQuery(Database database)
Unsupported
|
int |
executeUpdate(Database db)
Executes an SQL that may add, delete or modify zero or more rows within the
database, such as an INSERT, UPDATE or DELETE statement.
|
void |
setObjectName(java.lang.String theTableName) |
assertNotReadOnly, attemptToConvertValue, bindAll, buildBindVariables, clearBindings, createResolveSelectableVisitor, executeQuery, getBindVariableIterator, getBindVariableIterator, getBindVariables, getBindVariableVisitor, getColIdentifierList, getCommitSize, getEffectedRowCount, getResultSet, getRowIterator, makeRowDecorator, populateDefaultValues, populateSequenceColumns, resolveGeneratedColumns, resolveGeneratedColumns, resolveSelectable, resolveSelectable, resolveSelectableList, resolveSelectableList, setBindVariableVisitor, setDeferAllConstraintIfRequired, setEffectedRowCount, setResultSet, updateGeneratedValues
public int executeUpdate(Database db) throws AxionException
AxionCommand
AxionException
Statement.executeUpdate(java.lang.String)
,
PreparedStatement.executeUpdate()
public AxionResultSet executeQuery(Database database) throws AxionException
ResultSet
AxionException
Statement.executeQuery(java.lang.String)
,
PreparedStatement.executeQuery()
public boolean execute(Database db) throws AxionException
AxionCommand
ResultSet
s were generated,
false otherwiseAxionException
Statement.execute(java.lang.String)
,
PreparedStatement.execute()
public void setObjectName(java.lang.String theTableName)
protected void checkConstraint(Database db, Table table) throws AxionException
AxionException