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
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected final List<SQLTableElement>
protected SQLName
protected boolean
protected String
protected SQLSelect
protected SQLExprTableSource
Fields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) void
addColumn
(SQLTableElement column) clone()
getName()
boolean
isForce()
boolean
boolean
boolean
boolean
boolean
void
setAlgorithm
(String algorithm) void
setComment
(SQLLiteralExpr comment) void
setDefiner
(SQLName definer) void
setForce
(boolean force) void
setIfNotExists
(boolean ifNotExists) void
void
void
setSqlSecurity
(String sqlSecurity) void
setSubQuery
(SQLSelect subQuery) void
setTableSource
(SQLExprTableSource tableSource) void
setWithCascaded
(boolean withCascaded) void
setWithCheckOption
(boolean withCheckOption) void
setWithLocal
(boolean withLocal) void
setWithReadOnly
(boolean withReadOnly) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedString
Methods 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, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
Methods 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
-
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:
accept0
in classSQLStatementImpl
-
getChildren
- Specified by:
getChildren
in interfaceSQLStatement
- Overrides:
getChildren
in classSQLStatementImpl
-
clone
- Specified by:
clone
in interfaceSQLObject
- Specified by:
clone
in interfaceSQLStatement
- Overrides:
clone
in classSQLStatementImpl
-