Interface PrimaryKeyInformation
- All Known Implementing Classes:
PrimaryKeyInformationImpl
public interface PrimaryKeyInformation
Provides access to information about existing primary key for a table
-
Method Summary
Modifier and TypeMethodDescriptionObtain the columns making up the primary key.Obtain the identifier for this PK.
-
Method Details
-
getPrimaryKeyIdentifier
Identifier getPrimaryKeyIdentifier()Obtain the identifier for this PK.- Returns:
- The PK identifier.
-
getColumns
Iterable<ColumnInformation> getColumns()Obtain the columns making up the primary key. Returned in sequential order.- Returns:
- The columns
-