public static class MetadataAPIHelper.ShowPrimaryKeysInfo extends Object
This class represents information about columns that participate in a table's primary key constraint. Each instance represents one column in the primary key, with the key sequence indicating the column's position within a multi-column key. Used by JDBC metadata methods like getPrimaryKeys() to provide structured access to primary key information.
For composite primary keys (multiple columns), multiple instances will be created with the same pkName but different keySeq values to indicate column ordering.
| Constructor and Description |
|---|
ShowPrimaryKeysInfo(String tableName,
String columnName) |
ShowPrimaryKeysInfo(String databaseName,
String schemaName,
String tableName,
String columnName,
String keySeq,
String pkName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnName() |
String |
getDatabaseName() |
String |
getKeySeq() |
String |
getPkName() |
String |
getSchemaName() |
String |
getTableName() |
Copyright © 2025 Amazon.com Inc.. All rights reserved.