public class AlterTableAlterColumn extends SchemaCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement| Constructor and Description |
|---|
AlterTableAlterColumn(Session session,
Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setAddBefore(String before) |
void |
setDefaultExpression(Expression defaultExpression) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setNewColumn(Column newColumn) |
void |
setOldColumn(Column oldColumn) |
void |
setSelectivity(Expression selectivity) |
void |
setTable(Table table) |
void |
setType(int type) |
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 setTable(Table table)
public void setOldColumn(Column oldColumn)
public void setAddBefore(String before)
public int update()
Preparedpublic void setType(int type)
public void setSelectivity(Expression selectivity)
public void setDefaultExpression(Expression defaultExpression)
public void setNewColumn(Column newColumn)
public int getType()
Preparedpublic void setIfNotExists(boolean ifNotExists)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.