public class CreateView extends SchemaCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement| Constructor and Description |
|---|
CreateView(Session session,
Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setColumnNames(String[] cols) |
void |
setComment(String comment) |
void |
setForce(boolean force) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setOrReplace(boolean orReplace) |
void |
setSelect(Query select) |
void |
setSelectSQL(String selectSQL) |
void |
setViewName(String name) |
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 setViewName(String name)
public void setSelect(Query select)
public void setIfNotExists(boolean ifNotExists)
public void setSelectSQL(String selectSQL)
public void setColumnNames(String[] cols)
public void setComment(String comment)
public void setOrReplace(boolean orReplace)
public void setForce(boolean force)
public int update()
PreparedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.