Interface PostgreSQLTable
- All Known Implementing Classes:
AuditLogTable
,HarvestOpenMetadataTable
,HarvestSurveysTable
,RepositoryTable
public interface PostgreSQLTable
Defines the tables used in a database schema.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the columns that are not primary keys.Return the list of foreign keys for this table.Return the columns that are primary keys.Return the description of the table.Return the name of the table.getTableName
(String schemaName) Return the name of the table.
-
Method Details
-
getTableName
String getTableName()Return the name of the table.- Returns:
- name
-
getTableName
Return the name of the table.- Parameters:
schemaName
- name of schema- Returns:
- name
-
getTableDescription
String getTableDescription()Return the description of the table.- Returns:
- text
-
getPrimaryKeys
List<PostgreSQLColumn> getPrimaryKeys()Return the columns that are primary keys.- Returns:
- list of columns
-
getDataColumns
List<PostgreSQLColumn> getDataColumns()Return the columns that are not primary keys.- Returns:
- list of columns
-
getForeignKeys
List<PostgreSQLForeignKey> getForeignKeys()Return the list of foreign keys for this table.- Returns:
- list
-