org.axiondb.engine.commands
Class DropTableCommand
java.lang.Object
org.axiondb.engine.commands.BaseAxionCommand
org.axiondb.engine.commands.DropCommand
org.axiondb.engine.commands.DropTableCommand
- All Implemented Interfaces:
- AxionCommand
public class DropTableCommand
- extends DropCommand
A DROP TABLE
command. One can't drop SYSTEM_TABLE or VIEW using this
command. To drop view use DROP VIEW viewname
- Version:
- $Revision: 1.17 $ $Date: 2005/12/20 18:32:28 $
Method Summary |
boolean |
execute(Database db)
Executes an SQL statement that may return multiple results. |
Methods inherited from class org.axiondb.engine.commands.BaseAxionCommand |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DropTableCommand
public DropTableCommand(String tableName,
boolean exists,
boolean cascade)
execute
public boolean execute(Database db)
throws AxionException
- Description copied from interface:
AxionCommand
- Executes an SQL statement that may return multiple results.
- Specified by:
execute
in interface AxionCommand
- Specified by:
execute
in class DropCommand
- Returns:
- true if one or more
ResultSet
s were generated,
false otherwise
- Throws:
AxionException
- See Also:
Statement.execute(java.lang.String)
,
PreparedStatement.execute()