Class SQLPrimaryKeyImpl
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
com.alibaba.druid.sql.ast.statement.SQLUnique
com.alibaba.druid.sql.ast.statement.SQLPrimaryKeyImpl
- All Implemented Interfaces:
SQLDbTypedObject
,SQLObject
,SQLConstraint
,SQLPrimaryKey
,SQLTableConstraint
,SQLTableElement
,SQLUniqueConstraint
- Direct Known Subclasses:
OraclePrimaryKey
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLUnique
indexDefinition
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
dbType, enable, hints, rely, validate
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) clone()
void
boolean
boolean
void
setClustered
(boolean clustered) void
setDisableNovalidate
(boolean disableNovalidate) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLUnique
addColumn, addColumn, applyColumnRename, applyDropColumn, cloneTo, containsColumn, containsColumn, getColumns, getComment, getCovering, getIndexDefinition, getName, setComment, setName, setName, simplify
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
cloneTo, cloneTo, getDbType, getEnable, getHints, getRely, getValidate, replace, setDbType, setEnable, setHints, setRely, setValidate
Methods 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, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.alibaba.druid.sql.ast.statement.SQLConstraint
getComment, getName, setComment, setName, simplify
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
Methods inherited from interface com.alibaba.druid.sql.ast.statement.SQLUniqueConstraint
containsColumn, containsColumn, getColumns
-
Field Details
-
disableNovalidate
protected boolean disableNovalidate -
clustered
protected boolean clustered
-
-
Constructor Details
-
SQLPrimaryKeyImpl
public SQLPrimaryKeyImpl()
-
-
Method Details
-
accept0
-
clone
-
cloneTo
-
isDisableNovalidate
public boolean isDisableNovalidate() -
setDisableNovalidate
public void setDisableNovalidate(boolean disableNovalidate) -
isClustered
public boolean isClustered() -
setClustered
public void setClustered(boolean clustered)
-