Interface IConstraintPk
- All Superinterfaces:
IConstraint,ISearchPath,IStatement,ISubElement
- All Known Implementing Classes:
MetaConstraint,MsConstraintPk,PgConstraintPk
Interface for primary key constraints.
Extends the basic constraint interface with primary key specific functionality
including clustering information.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this primary key constraint is clustered.Methods inherited from interface org.pgcodekeeper.core.database.api.schema.IConstraint
containsColumn, getColumns, getDefinition, getStatementType, getTableName, isPrimaryKeyMethods inherited from interface org.pgcodekeeper.core.database.api.schema.ISearchPath
getDatabase, getSchemaNameMethods inherited from interface org.pgcodekeeper.core.database.api.schema.IStatement
addDependency, appendAlterSQL, appendOwnerSQL, canDrop, canDropBeforeCreate, clearPrivileges, compare, deepCopy, formatSql, getAuthor, getBareName, getChildren, getComment, getCreationSQL, getDependencies, getDescendants, getDropSQL, getLibName, getLocation, getName, getOwner, getParent, getPrivileges, getQualifiedName, getQuotedName, getQuoter, getRenameCommand, getSeparator, getSQL, getTwin, getTypeName, hasChildren, isLib, isOwned, quote, setComment, setLibName, setLocation, setOwner, shallowCopyMethods inherited from interface org.pgcodekeeper.core.database.api.schema.ISubElement
getContainingSchema, toObjectReference
-
Method Details
-
isClustered
boolean isClustered()Checks if this primary key constraint is clustered.- Returns:
- true if the primary key is clustered
-