public class CreateSequence extends SchemaCommand
transactionalcreate, 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(java.lang.String sequenceName) |
void |
setStartWith(Expression start) |
int |
update()
Execute the statement.
|
getSchemaisReadOnly, isTransactional, queryMeta, setTransactionalcheckCanceled, 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, toStringpublic void setSequenceName(java.lang.String sequenceName)
public void setIfNotExists(boolean ifNotExists)
public void setCycle(boolean cycle)
public int update()
Preparedpublic 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)