|
||||||||||
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(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
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 otherwise
AxionException
Statement.execute(java.lang.String)
,
PreparedStatement.execute()
public void setObjectName(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 |