public class CreateSequence extends SchemaCommand
transactional
create, parameters, prepareAlways, session, sqlStatement
Constructor and Description |
---|
CreateSequence(Session session,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setBelongsToTable(boolean belongsToTable) |
void |
setCacheSize(Expression cacheSize) |
void |
setCycle(boolean cycle) |
void |
setIfNotExists(boolean ifNotExists) |
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, isTransactional, queryMeta, setTransactional
checkCanceled, checkParameters, getCteCleanups, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSession, getSQL, getSQL, getSQL, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toString
public void setSequenceName(String sequenceName)
public void setIfNotExists(boolean ifNotExists)
public void setCycle(boolean cycle)
public int update()
Prepared
public void setStartWith(Expression start)
public void setIncrement(Expression increment)
public void setMinValue(Expression minValue)
public void setMaxValue(Expression maxValue)
public void setBelongsToTable(boolean belongsToTable)
public void setCacheSize(Expression cacheSize)
Copyright © 2020 JBoss by Red Hat. All rights reserved.