Interface PostgreSQLView
- All Known Implementing Classes:
HarvestSurveysView
public interface PostgreSQLView
Defines the tables used in a database schema.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the columns that are not primary keys.Return the columns that are primary keys.Return the description of the table.Return the name of the table.getViewName
(String schemaName) Return the name of the table.
-
Method Details
-
getViewName
String getViewName()Return the name of the table.- Returns:
- name
-
getViewName
Return the name of the table.- Parameters:
schemaName
- name of schema- Returns:
- name
-
getViewDescription
String getViewDescription()Return the description of the table.- Returns:
- text
-
getTables
List<PostgreSQLTable> getTables()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
-