-
- All Implemented Interfaces:
public final class PrimaryKey
Wrapper for results of getPrimaryKeys. It has been refactored to provide of Column object rather than the flattened view provided by the getPrimaryKeys method.
-
-
Constructor Summary
Constructors Constructor Description PrimaryKey(String name, List<Column> columns)
Create empty Primary key
-
Method Summary
Modifier and Type Method Description final String
getName()
Key nameSource column: PK_NAME final List<Column>
getColumns()
List of Column objects selected by filtering for the appropriate TABLE_CAT, TABLE_SCHEM, TABLE_NAME, and COLUMN_NAME as returned by java.sql.DatabaseMetaData.getPrimaryKeys, and the ordered by KEY_SEQ Boolean
equals(Object other)
Integer
hashCode()
-
-
Method Detail
-
getColumns
final List<Column> getColumns()
List of Column objects selected by filtering for the appropriate TABLE_CAT, TABLE_SCHEM, TABLE_NAME, and COLUMN_NAME as returned by java.sql.DatabaseMetaData.getPrimaryKeys, and the ordered by KEY_SEQ
-
-
-
-