public class CreateView extends SchemaCommand
transactional
create, 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.
|
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 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()
Prepared
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.