Interface PrimaryKeyInformation
-
- All Known Implementing Classes:
PrimaryKeyInformationImpl
public interface PrimaryKeyInformation
Provides access to information about existing primary key for a table
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<ColumnInformation>
getColumns()
Obtain the columns making up the primary key.Identifier
getPrimaryKeyIdentifier()
Obtain the identifier for this PK.
-
-
-
Method Detail
-
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
-
-