Interface SchemaMetadata


public interface SchemaMetadata
Represent access to a database schema metadata.
Since:
3.0.0
Author:
Julien Roy
  • Method Details

    • getTablesName

      Collection<String> getTablesName()
      Return list of name of tables discovered in database schema.
      Returns:
      List of table names
    • getColumnsName

      Collection<String> getColumnsName(String tableName)
      Return list of name of columns discovered in database schema.
      Parameters:
      tableName - Name of table to discover.
      Returns:
      List of table names
    • getPrimaryKeys

      Collection<String> getPrimaryKeys(String tableName)
      Return list of primary keys discovered in database schema.
      Parameters:
      tableName - Name of table to discover.
      Returns:
      List of primary keys