public class AlterTableSet extends SchemaCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement| Constructor and Description |
|---|
AlterTableSet(Session session,
Schema schema,
int type,
boolean value) |
| 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 |
setCheckExisting(boolean b) |
void |
setTableName(String tableName) |
int |
update()
Execute the statement.
|
getSchemaisReadOnly, 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 setCheckExisting(boolean b)
public boolean isTransactional()
PreparedisTransactional in class DefineCommandpublic void setTableName(String tableName)
public int update()
PreparedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.