Package org.pgcodekeeper.core.schema
Interface IConstraintPk
- All Superinterfaces:
IConstraint,ISearchPath,IStatement
- All Known Implementing Classes:
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.schema.IConstraint
containsColumn, getColumns, getDefinition, getTableName, isPrimaryKeyMethods inherited from interface org.pgcodekeeper.core.schema.ISearchPath
getContainingSchema, getDatabase, getSchemaNameMethods inherited from interface org.pgcodekeeper.core.schema.IStatement
getBareName, getComment, getName, getParent, getQualifiedName, getStatementType
-
Method Details
-
isClustered
boolean isClustered()Checks if this primary key constraint is clustered.- Returns:
- true if the primary key is clustered
-