Class SQLDropViewStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLDropViewStatement
- All Implemented Interfaces:
SQLDbTypedObject
,SQLObject
,SQLStatement
,SQLDDLStatement
,SQLDropStatement
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected List<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
ConstructorDescriptionSQLDropViewStatement
(DbType dbType) SQLDropViewStatement
(SQLName name) SQLDropViewStatement
(SQLExprTableSource tableSource) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) void
addPartition
(SQLExprTableSource tableSource) void
addTableSource
(SQLName name) void
addTableSource
(SQLExprTableSource tableSource) boolean
boolean
boolean
void
setCascade
(boolean cascade) void
setIfExists
(boolean ifExists) void
void
setRestrict
(boolean restrict) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, 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
clone, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
Field Details
-
tableSources
-
cascade
protected boolean cascade -
restrict
protected boolean restrict -
ifExists
protected boolean ifExists
-
-
Constructor Details
-
SQLDropViewStatement
public SQLDropViewStatement() -
SQLDropViewStatement
-
SQLDropViewStatement
-
SQLDropViewStatement
-
-
Method Details
-
getTableSources
-
addPartition
-
setName
-
addTableSource
-
addTableSource
-
isCascade
public boolean isCascade() -
setCascade
public void setCascade(boolean cascade) -
accept0
- Overrides:
accept0
in classSQLStatementImpl
-
isRestrict
public boolean isRestrict() -
setRestrict
public void setRestrict(boolean restrict) -
isIfExists
public boolean isIfExists() -
setIfExists
public void setIfExists(boolean ifExists) -
getChildren
- Specified by:
getChildren
in interfaceSQLStatement
- Overrides:
getChildren
in classSQLStatementImpl
-