Class SQLAlterTableDropConstraint
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLAlterTableDropConstraint
- All Implemented Interfaces:
SQLObject,SQLAlterTableItem
-
Field Summary
FieldsFields 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) booleanbooleanbooleanvoidsetCascade(boolean cascade) voidsetConstraintName(SQLName constraintName) voidsetIfExists(boolean ifExists) voidsetRestrict(boolean restrict) 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, 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, putAttribute, setParent
-
Field Details
-
cascade
protected boolean cascade -
restrict
protected boolean restrict
-
-
Constructor Details
-
SQLAlterTableDropConstraint
public SQLAlterTableDropConstraint()
-
-
Method Details
-
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
- Specified by:
accept0in classSQLObjectImpl
-
getConstraintName
-
setConstraintName
-