org.axiondb.engine.commands
Class AlterSequenceCommand
java.lang.Object
org.axiondb.engine.commands.BaseAxionCommand
org.axiondb.engine.commands.CreateCommand
org.axiondb.engine.commands.AlterSequenceCommand
- All Implemented Interfaces:
- AxionCommand
public class AlterSequenceCommand
- extends CreateCommand
A ALTER SEQUENCE
command.
NOTE: One can't change DataType as per ANSI 2003 spec.
- Version:
- $Revision: 1.2 $ $Date: 2005/12/20 18:32:28 $
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 |
AlterSequenceCommand
public AlterSequenceCommand()
setStartValue
public void setStartValue(String value)
setIncrementBy
public void setIncrementBy(String incrementBy)
setMaxValue
public void setMaxValue(String maxValue)
setMinValue
public void setMinValue(String minValue)
setCycle
public void setCycle(boolean cycle)
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()