Class DB2LUWTabularTable
java.lang.Object
org.odpi.openmetadata.adapters.connectors.db2luw.tabulardatasource.DB2LUWTabularTable
- All Implemented Interfaces:
DB2LUWTable
Convert the tabular data source description into something understandable by Db2 for Linux, UNIX and Windows
so the schema for the table can be set up in the database.
-
Constructor Summary
ConstructorsConstructorDescriptionDB2LUWTabularTable(String tableName, String tableDescription, List<TabularColumnDescription> columnDescriptions) Construct the Db2 for Linux, UNIX and Windows table information from the tabular data information. -
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 added as an extension using ALTER 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
-
DB2LUWTabularTable
public DB2LUWTabularTable(String tableName, String tableDescription, List<TabularColumnDescription> columnDescriptions) Construct the Db2 for Linux, UNIX and Windows table information from the tabular data information.- Parameters:
tableName- name of the tabletableDescription- description of the tablecolumnDescriptions- list of columns
-
-
Method Details
-
getTableName
Return the name of the table.- Specified by:
getTableNamein interfaceDB2LUWTable- Returns:
- name
-
getTableName
Return the name of the table.- Specified by:
getTableNamein interfaceDB2LUWTable- Parameters:
schemaName- name of schema- Returns:
- name
-
getTableDescription
Return the description of the table.- Specified by:
getTableDescriptionin interfaceDB2LUWTable- Returns:
- text
-
getPrimaryKeys
Return the columns that are primary keys.- Specified by:
getPrimaryKeysin interfaceDB2LUWTable- Returns:
- list of columns
-
getDataColumns
Return the columns that are not primary keys.- Specified by:
getDataColumnsin interfaceDB2LUWTable- Returns:
- list of columns
-
getNewColumns
Return the columns that are added as an extension using ALTER TABLE.- Specified by:
getNewColumnsin interfaceDB2LUWTable- Returns:
- list of columns
-
getForeignKeys
Return the list of foreign keys for this table.- Specified by:
getForeignKeysin interfaceDB2LUWTable- Returns:
- list
-