Class SQLAlterTableDropPartition
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLAlterTableDropPartition
- All Implemented Interfaces:
SQLObject,SQLAlterTableItem
-
Field Summary
Fields 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) voidaddPartition(SQLExpr partition) booleanbooleanisPurge()voidsetIfExists(boolean ifExists) voidsetPurge(boolean purge) Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringMethods 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, clone, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
-
Constructor Details
-
SQLAlterTableDropPartition
public SQLAlterTableDropPartition()
-
-
Method Details
-
getPartitions
-
addPartition
-
isIfExists
public boolean isIfExists() -
setIfExists
public void setIfExists(boolean ifExists) -
isPurge
public boolean isPurge() -
setPurge
public void setPurge(boolean purge) -
accept0
- Specified by:
accept0in classSQLObjectImpl
-