public class AlterSequence extends SchemaCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement, sqlTokens| Constructor and Description |
|---|
AlterSequence(SessionLocal session,
Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
boolean |
isTransactional()
Check if this command is transactional.
|
void |
setColumn(Column column,
java.lang.Boolean always)
Set the column
|
void |
setIfExists(boolean b) |
void |
setOptions(SequenceOptions options) |
void |
setSequenceName(java.lang.String sequenceName) |
long |
update()
Execute the statement.
|
getSchemaisReadOnly, queryMeta, setTransactionalcheckCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, toStringpublic AlterSequence(SessionLocal session, Schema schema)
public void setIfExists(boolean b)
public void setSequenceName(java.lang.String sequenceName)
public void setOptions(SequenceOptions options)
public boolean isTransactional()
PreparedisTransactional in class DefineCommandpublic void setColumn(Column column, java.lang.Boolean always)
column - the columnalways - whether value should be always generated, or null if "set
generated is not specifiedpublic int getType()
Prepared