org.axiondb.engine.commands
Class DropTableCommand

java.lang.Object
  extended by org.axiondb.engine.commands.BaseAxionCommand
      extended by org.axiondb.engine.commands.DropCommand
          extended by 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.14 $ $Date: 2004/08/13 02:01:09 $

Constructor Summary
DropTableCommand(String tableName, boolean exists)
           
 
Method Summary
 boolean execute(Database db)
          Executes an SQL statement that may return multiple results.
 
Methods inherited from class org.axiondb.engine.commands.DropCommand
executeQuery, executeUpdate, getObjectName, isIfExists, setIfExists, setObjectName
 
Methods inherited from class org.axiondb.engine.commands.BaseAxionCommand
appendBindVariables, assertNotReadOnly, attemptToConvertValue, bind, clearBindings, getBindVariableIterator, getEffectedRowCount, getResultSet, getRowIterator, getRowIterator, getTableForIdentifier, resolveSelectableList, resolveSelectableList, setEffectedRowCount, setResultSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropTableCommand

public DropTableCommand(String tableName,
                        boolean exists)
Method Detail

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 ResultSets were generated, false otherwise
Throws:
AxionException
See Also:
Statement.execute(java.lang.String), PreparedStatement.execute()