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
FieldsFields inherited from class com.alibaba.druid.sql.ast.statement.SQLUnique
indexDefinitionFields 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()voidbooleanbooleanvoidsetClustered(boolean clustered) voidsetDisableNovalidate(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, simplifyMethods inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
cloneTo, cloneTo, getDbType, getEnable, getHints, getRely, getValidate, replace, setDbType, setEnable, setHints, setRely, setValidateMethods 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, 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, output, putAttribute, setParentMethods 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)
-