|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axiondb.engine.commands.BaseAxionCommand
org.axiondb.engine.commands.TruncateCommand
public class TruncateCommand
A TRUNCATE TABLE command.
| Constructor Summary | |
|---|---|
TruncateCommand()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TruncateCommand()
| Method Detail |
|---|
public int executeUpdate(Database db)
throws AxionException
AxionCommand
AxionExceptionStatement.executeUpdate(java.lang.String),
PreparedStatement.executeUpdate()
public AxionResultSet executeQuery(Database database)
throws AxionException
ResultSet
AxionExceptionStatement.executeQuery(java.lang.String),
PreparedStatement.executeQuery()
public boolean execute(Database db)
throws AxionException
AxionCommand
ResultSets were generated,
false otherwise
AxionExceptionStatement.execute(java.lang.String),
PreparedStatement.execute()public void setObjectName(java.lang.String theTableName)
protected void checkConstraint(Database db,
Table table)
throws AxionException
AxionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||