Class SQLColumnCheck
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
com.alibaba.druid.sql.ast.statement.SQLColumnCheck
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLReplaceable,SQLColumnConstraint,SQLConstraint,SQLTableElement
public class SQLColumnCheck
extends SQLConstraintImpl
implements SQLColumnConstraint, SQLReplaceable
-
Field Summary
FieldsFields inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
dbType, enable, hints, rely, validateFields 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) clone()getExpr()booleanvoidsetEnforced(Boolean enforced) voidMethods inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
cloneTo, cloneTo, getComment, getDbType, getEnable, getHints, getName, getRely, getValidate, setComment, setDbType, setEnable, setHints, setName, setName, setRely, setValidate, simplifyMethods 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, 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.statement.SQLConstraint
getComment, getName, setComment, setName, simplifyMethods 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, setParent
-
Field Details
-
enforced
-
-
Constructor Details
-
SQLColumnCheck
public SQLColumnCheck() -
SQLColumnCheck
-
-
Method Details
-
getExpr
-
setExpr
-
getEnforced
-
setEnforced
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
clone
- Specified by:
clonein interfaceSQLColumnConstraint- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableElement- Overrides:
clonein classSQLObjectImpl
-
replace
- Specified by:
replacein interfaceSQLReplaceable- Overrides:
replacein classSQLConstraintImpl
-