public class SQLCreateViewStatement extends SQLStatementImpl implements SQLDDLStatement
Modifier and Type | Class and Description |
---|---|
static class |
SQLCreateViewStatement.Column |
static class |
SQLCreateViewStatement.Level |
Constructor and Description |
---|
SQLCreateViewStatement() |
SQLCreateViewStatement(String dbType) |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(SQLCreateViewStatement.Column column) |
String |
getAlgorithm() |
List<SQLCreateViewStatement.Column> |
getColumns() |
SQLLiteralExpr |
getComment() |
SQLName |
getDefiner() |
SQLName |
getName() |
String |
getSqlSecurity() |
SQLSelect |
getSubQuery() |
SQLCreateViewStatement.Level |
getWith() |
boolean |
isIfNotExists() |
boolean |
isOrReplace() |
void |
output(StringBuffer buf) |
void |
setAlgorithm(String algorithm) |
void |
setComment(SQLLiteralExpr comment) |
void |
setDefiner(SQLName definer) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setName(SQLName name) |
void |
setOrReplace(boolean orReplace) |
void |
setSqlSecurity(String sqlSecurity) |
void |
setSubQuery(SQLSelect subQuery) |
void |
setWith(SQLCreateViewStatement.Level with) |
getDbType, setDbType, toString
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDbType
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent
public SQLCreateViewStatement()
public SQLCreateViewStatement(String dbType)
public boolean isOrReplace()
public void setOrReplace(boolean orReplace)
public SQLName getName()
public void setName(SQLName name)
public SQLCreateViewStatement.Level getWith()
public void setWith(SQLCreateViewStatement.Level with)
public SQLSelect getSubQuery()
public void setSubQuery(SQLSelect subQuery)
public List<SQLCreateViewStatement.Column> getColumns()
public void addColumn(SQLCreateViewStatement.Column column)
public boolean isIfNotExists()
public void setIfNotExists(boolean ifNotExists)
public SQLLiteralExpr getComment()
public void setComment(SQLLiteralExpr comment)
public String getAlgorithm()
public void setAlgorithm(String algorithm)
public SQLName getDefiner()
public void setDefiner(SQLName definer)
public String getSqlSecurity()
public void setSqlSecurity(String sqlSecurity)
public void output(StringBuffer buf)
output
in interface SQLObject
output
in class SQLObjectImpl
Copyright © 2013–2017 Alibaba Group. All rights reserved.