Class PostgresTabularTable
java.lang.Object
org.odpi.openmetadata.adapters.connectors.postgres.tabulardatasource.PostgresTabularTable
- All Implemented Interfaces:
- PostgreSQLTable
Convert the tabular data source description into something understandable by PostgreSQL so the schema
 for the table can be set up in the database.
- 
Constructor SummaryConstructorsConstructorDescriptionPostgresTabularTable(String tableName, String tableDescription, List<TabularColumnDescription> columnDescriptions) Construct the postgreSQL table information from the tabular data information.
- 
Method SummaryModifier 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.
- 
Constructor Details- 
PostgresTabularTablepublic PostgresTabularTable(String tableName, String tableDescription, List<TabularColumnDescription> columnDescriptions) Construct the postgreSQL table information from the tabular data information.- Parameters:
- tableName- name of the table
- tableDescription- description of the table
- columnDescriptions- list of columns
 
 
- 
- 
Method Details- 
getTableNameReturn the name of the table.- Specified by:
- getTableNamein interface- PostgreSQLTable
- Returns:
- name
 
- 
getTableNameReturn the name of the table.- Specified by:
- getTableNamein interface- PostgreSQLTable
- Parameters:
- schemaName- name of schema
- Returns:
- name
 
- 
getTableDescriptionReturn the description of the table.- Specified by:
- getTableDescriptionin interface- PostgreSQLTable
- Returns:
- text
 
- 
getPrimaryKeysReturn the columns that are primary keys.- Specified by:
- getPrimaryKeysin interface- PostgreSQLTable
- Returns:
- list of columns
 
- 
getDataColumnsReturn the columns that are not primary keys.- Specified by:
- getDataColumnsin interface- PostgreSQLTable
- Returns:
- list of columns
 
- 
getForeignKeysReturn the list of foreign keys for this table.- Specified by:
- getForeignKeysin interface- PostgreSQLTable
- Returns:
- list
 
 
-