public class AlterTableRenameColumn extends SchemaCommand
transactional
create, parameters, prepareAlways, session, sqlStatement
Constructor and Description |
---|
AlterTableRenameColumn(Session session,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setIfTableExists(boolean b) |
void |
setNewColumnName(String newName) |
void |
setOldColumnName(String oldName) |
void |
setTableName(String tableName) |
int |
update()
Execute the statement.
|
getSchema
isReadOnly, isTransactional, 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 setIfTableExists(boolean b)
public void setTableName(String tableName)
public void setOldColumnName(String oldName)
public void setNewColumnName(String newName)
public int update()
Prepared
Copyright © 2017 JBoss by Red Hat. All rights reserved.