public class AlterSequence extends SchemaCommand
transactional
create, parameters, prepareAlways, session, sqlStatement
Constructor and Description |
---|
AlterSequence(Session 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) |
void |
setIncrement(Expression increment) |
void |
setSequence(Sequence sequence) |
void |
setStartWith(Expression start) |
int |
update()
Execute the statement.
|
getSchema
isReadOnly, queryMeta, setTransactional
checkCanceled, checkParameters, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSQL, getSQL, getSQL, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toString
public void setSequence(Sequence sequence)
public boolean isTransactional()
Prepared
isTransactional
in class DefineCommand
public void setColumn(Column column)
public void setStartWith(Expression start)
public void setIncrement(Expression increment)
public int update()
Prepared
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.