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, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDbTypeaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParentpublic 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 SQLObjectoutput in class SQLObjectImplCopyright © 2013–2016 Alibaba Group. All rights reserved.