public class AlterTableSet extends SchemaCommand
transactional
create, 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.
|
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 setCheckExisting(boolean b)
public boolean isTransactional()
Prepared
isTransactional
in class DefineCommand
public void setTableName(String tableName)
public int update()
Prepared
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.