Package org.assertj.db.type
Interface SchemaMetadata
public interface SchemaMetadata
Represent access to a database schema metadata.
- Since:
- 3.0.0
- Author:
- Julien Roy
-
Method Summary
Modifier and TypeMethodDescriptiongetColumnsName(String tableName) Return list of name of columns discovered in database schema.getPrimaryKeys(String tableName) Return list of primary keys discovered in database schema.Return list of name of tables discovered in database schema.
-
Method Details
-
getTablesName
Collection<String> getTablesName()Return list of name of tables discovered in database schema.- Returns:
- List of table names
-
getColumnsName
Return list of name of columns discovered in database schema.- Parameters:
tableName- Name of table to discover.- Returns:
- List of table names
-
getPrimaryKeys
Return list of primary keys discovered in database schema.- Parameters:
tableName- Name of table to discover.- Returns:
- List of primary keys
-