Class OscarDropSchemaStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.dialect.oscar.ast.stmt.OscarDropSchemaStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement,SQLDDLStatement,SQLDropStatement,OscarObject,OscarStatement
public class OscarDropSchemaStatement
extends SQLStatementImpl
implements OscarStatement, SQLDropStatement
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType -
Field Summary
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept0(OscarASTVisitor visitor) protected voidaccept0(SQLASTVisitor visitor) booleanbooleanbooleanvoidsetCascade(boolean cascade) voidsetIfExists(boolean ifExists) voidsetRestrict(boolean restrict) voidsetSchemaName(SQLIdentifierExpr schemaName) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, getChildren, 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.statement.SQLDDLStatement
getDDLObjectTypeMethods 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, putAttribute, setParentMethods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
Constructor Details
-
OscarDropSchemaStatement
public OscarDropSchemaStatement()
-
-
Method Details
-
getSchemaName
-
setSchemaName
-
isIfExists
public boolean isIfExists() -
setIfExists
public void setIfExists(boolean ifExists) -
isCascade
public boolean isCascade() -
setCascade
public void setCascade(boolean cascade) -
isRestrict
public boolean isRestrict() -
setRestrict
public void setRestrict(boolean restrict) -
accept0
- Overrides:
accept0in classSQLStatementImpl
-
accept0
- Specified by:
accept0in interfaceOscarObject
-