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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected List<SQLExprTableSource>Fields 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
ConstructorsConstructorDescriptionSQLDropViewStatement(DbType dbType) SQLDropViewStatement(SQLName name) SQLDropViewStatement(SQLExprTableSource tableSource) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) voidaddPartition(SQLExprTableSource tableSource) voidaddTableSource(SQLName name) voidaddTableSource(SQLExprTableSource tableSource) booleanbooleanbooleanvoidsetCascade(boolean cascade) voidsetIfExists(boolean ifExists) voidvoidsetRestrict(boolean restrict) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, 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, 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.statement.SQLDropStatement
getNameMethods 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, setParentMethods 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:
accept0in classSQLStatementImpl
-
isRestrict
public boolean isRestrict() -
setRestrict
public void setRestrict(boolean restrict) -
isIfExists
public boolean isIfExists() -
setIfExists
public void setIfExists(boolean ifExists) -
getChildren
- Specified by:
getChildrenin interfaceSQLStatement- Overrides:
getChildrenin classSQLStatementImpl
-
getDDLObjectType
- Specified by:
getDDLObjectTypein interfaceSQLDDLStatement
-