org.axiondb.engine.commands
Class CreateSequenceCommand
java.lang.Object
org.axiondb.engine.commands.BaseAxionCommand
org.axiondb.engine.commands.CreateCommand
org.axiondb.engine.commands.CreateSequenceCommand
- All Implemented Interfaces:
- AxionCommand
public class CreateSequenceCommand
- extends CreateCommand
A CREATE SEQUENCE
command.
- Version:
- $Revision: 1.12 $ $Date: 2003/10/24 00:01:23 $
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 |
CreateSequenceCommand
public CreateSequenceCommand()
CreateSequenceCommand
public CreateSequenceCommand(String sequenceName)
CreateSequenceCommand
public CreateSequenceCommand(String sequenceName,
int startVal)
setStartValue
public void setStartValue(String value)
setStartValue
public void setStartValue(int value)
getStartValue
public int getStartValue()
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 CreateCommand
- Returns:
- true if one or more
ResultSet
s
were generated, false otherwise
- Throws:
AxionException
- See Also:
Statement.execute(java.lang.String)
,
PreparedStatement.execute()