Class DataSource
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.model.module.BaseObjectType
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.model.module.DataSource
-
- All Implemented Interfaces:
IModuleObject
public class DataSource extends BaseObjectType
Data source model.
Sample:
{
"property": [PropertyType
],
"schema": "Person",
"catalog": "AdventureWorks2014",
"name": "AdventureWorks2014.Person",
"table": [Table]
}
-
-
Constructor Summary
Constructors Constructor Description DataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCatalog()Get name of the relational database catalog.StringgetName()Get name of the data source.StringgetSchema()Get name of the relational database schema.List<Table>getTable()Get list of tables of the data source schema.voidsetCatalog(String catalog)Set name of the relational database catalog.voidsetName(String name)Set name of the data source.voidsetSchema(String schema)Set name of the relational database schema.voidsetTable(List<Table> tables)Set tables of the data source schema.-
Methods inherited from class org.odpi.openmetadata.accessservices.analyticsmodeling.model.module.BaseObjectType
addProperty, getProperty, getPropertyByName, setProperty
-
-
-
-
Method Detail
-
getSchema
public String getSchema()
Get name of the relational database schema.- Returns:
- name of the relational database schema.
-
setSchema
public void setSchema(String schema)
Set name of the relational database schema.- Parameters:
schema- name of the relational database schema.
-
getCatalog
public String getCatalog()
Get name of the relational database catalog.- Returns:
- name of the relational database catalog.
-
setCatalog
public void setCatalog(String catalog)
Set name of the relational database catalog.- Parameters:
catalog- name of the relational database catalog.
-
getName
public String getName()
Get name of the data source.- Returns:
- name of the data source.
-
setName
public void setName(String name)
Set name of the data source.- Parameters:
name- of the data source.
-
getTable
public List<Table> getTable()
Get list of tables of the data source schema.- Returns:
- list of tables.
-
-