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) |
List<SQLCreateViewStatement.Column> |
getColumns() |
SQLLiteralExpr |
getComment() |
SQLName |
getName() |
SQLSelect |
getSubQuery() |
SQLCreateViewStatement.Level |
getWith() |
boolean |
isIfNotExists() |
boolean |
isOrReplace() |
void |
output(StringBuffer buf) |
void |
setComment(SQLLiteralExpr comment) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setName(SQLName name) |
void |
setOrReplace(boolean orReplace) |
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 void output(StringBuffer buf)
output
in interface SQLObject
output
in class SQLObjectImpl
Copyright © 2013–2017 Alibaba Group. All rights reserved.