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 |
setCacheSize(Expression cacheSize) |
void |
setColumn(Column column) |
void |
setCycle(Boolean cycle) |
void |
setIfExists(boolean b) |
void |
setIncrement(Expression increment) |
void |
setMaxValue(Expression maxValue) |
void |
setMinValue(Expression minValue) |
void |
setSequenceName(String sequenceName) |
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 setIfExists(boolean b)
public void setSequenceName(String sequenceName)
public boolean isTransactional()
Prepared
isTransactional
in class DefineCommand
public void setColumn(Column column)
public void setStartWith(Expression start)
public void setIncrement(Expression increment)
public void setCycle(Boolean cycle)
public void setMinValue(Expression minValue)
public void setMaxValue(Expression maxValue)
public void setCacheSize(Expression cacheSize)
public int update()
Prepared
Copyright © 2017 JBoss by Red Hat. All rights reserved.