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 |
setIfNotExists(boolean ifNotExists) |
void |
setIncrement(Expression increment) |
void |
setSequenceName(String sequenceName) |
void |
setStartWith(Expression start) |
int |
update()
Execute the statement.
|
getSchemaisReadOnly, isTransactional, queryMeta, setTransactionalcheckCanceled, checkParameters, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSQL, getSQL, getSQL, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toStringpublic void setSequenceName(String sequenceName)
public void setIfNotExists(boolean ifNotExists)
public int update()
Preparedpublic void setStartWith(Expression start)
public void setIncrement(Expression increment)
public void setBelongsToTable(boolean belongsToTable)
public void setCacheSize(Expression cacheSize)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.