org.axiondb.engine.commands
Class DropSequenceCommand

java.lang.Object
  extended by org.axiondb.engine.commands.BaseAxionCommand
      extended by org.axiondb.engine.commands.DropCommand
          extended by org.axiondb.engine.commands.DropSequenceCommand
All Implemented Interfaces:
AxionCommand

public class DropSequenceCommand
extends DropCommand

A DROP SEQUENCE command.

Version:
$Revision: 1.10 $ $Date: 2003/10/24 00:01:23 $

Constructor Summary
DropSequenceCommand(String sequenceName, boolean ifExists)
           
 
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

DropSequenceCommand

public DropSequenceCommand(String sequenceName,
                           boolean ifExists)
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()