Class MSSQLTabularTable
java.lang.Object
org.odpi.openmetadata.adapters.connectors.mssql.tabulardatasource.MSSQLTabularTable
- All Implemented Interfaces:
MSSQLTable
Convert the tabular data source description into something understandable by Microsoft SQL Server so the schema
for the table can be set up in the database.
-
Constructor Summary
ConstructorsConstructorDescriptionMSSQLTabularTable(String tableName, String tableDescription, List<TabularColumnDescription> columnDescriptions) Construct the Microsoft SQL Server 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
-
MSSQLTabularTable
public MSSQLTabularTable(String tableName, String tableDescription, List<TabularColumnDescription> columnDescriptions) Construct the Microsoft SQL Server 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 interfaceMSSQLTable- Returns:
- name
-
getTableName
Return the name of the table.- Specified by:
getTableNamein interfaceMSSQLTable- Parameters:
schemaName- name of schema- Returns:
- name
-
getTableDescription
Return the description of the table.- Specified by:
getTableDescriptionin interfaceMSSQLTable- Returns:
- text
-
getPrimaryKeys
Return the columns that are primary keys.- Specified by:
getPrimaryKeysin interfaceMSSQLTable- Returns:
- list of columns
-
getDataColumns
Return the columns that are not primary keys.- Specified by:
getDataColumnsin interfaceMSSQLTable- Returns:
- list of columns
-
getNewColumns
Return the columns that are added as an extension using ALTER TABLE.- Specified by:
getNewColumnsin interfaceMSSQLTable- Returns:
- list of columns
-
getForeignKeys
Return the list of foreign keys for this table.- Specified by:
getForeignKeysin interfaceMSSQLTable- Returns:
- list
-