Class SQLAlterViewStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLAlterViewStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement,SQLCreateStatement,SQLDDLStatement
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected final List<SQLTableElement>protected SQLNameprotected booleanprotected Stringprotected SQLSelectprotected SQLExprTableSourceFields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHintsFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) voidaddColumn(SQLTableElement column) clone()getName()booleanisForce()booleanbooleanbooleanbooleanbooleanvoidsetAlgorithm(String algorithm) voidsetComment(SQLLiteralExpr comment) voidsetDefiner(SQLName definer) voidsetForce(boolean force) voidsetIfNotExists(boolean ifNotExists) voidvoidvoidsetSqlSecurity(String sqlSecurity) voidsetSubQuery(SQLSelect subQuery) voidsetTableSource(SQLExprTableSource tableSource) voidsetWithCascaded(boolean withCascaded) voidsetWithCheckOption(boolean withCheckOption) voidsetWithLocal(boolean withLocal) voidsetWithReadOnly(boolean withReadOnly) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedStringMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLineMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentMethods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
Field Details
-
subQuery
-
ifNotExists
protected boolean ifNotExists -
algorithm
-
definer
-
sqlSecurity
-
tableSource
-
columns
-
-
Constructor Details
-
SQLAlterViewStatement
public SQLAlterViewStatement() -
SQLAlterViewStatement
-
-
Method Details
-
computeName
-
getSchema
-
getName
- Specified by:
getNamein interfaceSQLCreateStatement
-
setName
-
setName
-
getTableSource
-
setTableSource
-
isWithCheckOption
public boolean isWithCheckOption() -
setWithCheckOption
public void setWithCheckOption(boolean withCheckOption) -
isWithCascaded
public boolean isWithCascaded() -
setWithCascaded
public void setWithCascaded(boolean withCascaded) -
isWithLocal
public boolean isWithLocal() -
setWithLocal
public void setWithLocal(boolean withLocal) -
isWithReadOnly
public boolean isWithReadOnly() -
setWithReadOnly
public void setWithReadOnly(boolean withReadOnly) -
getSubQuery
-
setSubQuery
-
getColumns
-
addColumn
-
isIfNotExists
public boolean isIfNotExists() -
setIfNotExists
public void setIfNotExists(boolean ifNotExists) -
getComment
-
setComment
-
getAlgorithm
-
setAlgorithm
-
getDefiner
-
setDefiner
-
getSqlSecurity
-
setSqlSecurity
-
isForce
public boolean isForce() -
setForce
public void setForce(boolean force) -
accept0
- Overrides:
accept0in classSQLStatementImpl
-
getChildren
- Specified by:
getChildrenin interfaceSQLStatement- Overrides:
getChildrenin classSQLStatementImpl
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLStatement- Overrides:
clonein classSQLStatementImpl
-
getDDLObjectType
- Specified by:
getDDLObjectTypein interfaceSQLDDLStatement
-