public class SQLCreateViewStatement extends SQLStatementImpl implements SQLCreateStatement
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SQLCreateViewStatement.Column |
static class |
SQLCreateViewStatement.Level |
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
algorithm |
protected List<SQLTableElement> |
columns |
private SQLLiteralExpr |
comment |
protected SQLName |
definer |
private boolean |
force |
protected boolean |
ifNotExists |
private boolean |
orReplace |
protected String |
sqlSecurity |
protected SQLSelect |
subQuery |
protected SQLExprTableSource |
tableSource |
private boolean |
withCascaded |
private boolean |
withCheckOption |
private boolean |
withLocal |
private boolean |
withReadOnly |
afterSemi, dbType, headHintsattributes, parent| 构造器和说明 |
|---|
SQLCreateViewStatement() |
SQLCreateViewStatement(String dbType) |
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toStringaccept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentgetDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentprivate boolean orReplace
private boolean force
protected SQLSelect subQuery
protected boolean ifNotExists
protected String algorithm
protected SQLName definer
protected String sqlSecurity
protected SQLExprTableSource tableSource
protected final List<SQLTableElement> columns
private boolean withCheckOption
private boolean withCascaded
private boolean withLocal
private boolean withReadOnly
private SQLLiteralExpr comment
public SQLCreateViewStatement()
public SQLCreateViewStatement(String dbType)
public String computeName()
public String getSchema()
public boolean isOrReplace()
public void setOrReplace(boolean orReplace)
public SQLName getName()
public void setName(SQLName name)
public void setName(String name)
public SQLExprTableSource getTableSource()
public void setTableSource(SQLExprTableSource tableSource)
public boolean isWithCheckOption()
public void setWithCheckOption(boolean withCheckOption)
public boolean isWithCascaded()
public void setWithCascaded(boolean withCascaded)
public boolean isWithLocal()
public void setWithLocal(boolean withLocal)
public boolean isWithReadOnly()
public void setWithReadOnly(boolean withReadOnly)
public SQLSelect getSubQuery()
public void setSubQuery(SQLSelect subQuery)
public List<SQLTableElement> getColumns()
public void addColumn(SQLTableElement 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 boolean isForce()
public void setForce(boolean force)
protected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLStatementImplpublic List<SQLObject> getChildren()
getChildren 在接口中 SQLStatementgetChildren 在类中 SQLStatementImplpublic SQLCreateViewStatement clone()
clone 在接口中 SQLObjectclone 在接口中 SQLStatementclone 在类中 SQLStatementImplCopyright © 2013–2019 Alibaba Group. All rights reserved.