Class SQLAlterTableAddConstraint
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLAlterTableAddConstraint
- 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) booleanbooleanbooleanvoidsetConstraint(SQLConstraint constraint) voidsetNoInherit(boolean noInherit) voidsetNotValid(boolean notValid) voidsetWithNoCheck(boolean withNoCheck) 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
-
Constructor Details
-
SQLAlterTableAddConstraint
public SQLAlterTableAddConstraint() -
SQLAlterTableAddConstraint
-
-
Method Details
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
getConstraint
-
setConstraint
-
isWithNoCheck
public boolean isWithNoCheck() -
setWithNoCheck
public void setWithNoCheck(boolean withNoCheck) -
isNoInherit
public boolean isNoInherit() -
setNoInherit
public void setNoInherit(boolean noInherit) -
isNotValid
public boolean isNotValid() -
setNotValid
public void setNotValid(boolean notValid)
-