Skip to main content
A newer version of this page is available. .

FederationDataSource Class

A federated data source that retrieves data from different data sources.

Declaration

export class FederationDataSource extends DataSource

Remarks

When you bind your dashboard to the Federation Data Source, you in fact bind it to many data sources that are united. You can combine any number of SQL Data Source queries, Excel Data Sources, and Object Data Sources, and set up a relation condition between them.

Inheritance

DataSource
FederationDataSource

constructor

Initializes a new instance of the FederationDataSource class.

Declaration

constructor(
    dataSourceJSON?: any,
    serializer?: DxDesigner.Analytics.Utils.ModelSerializer
)

Parameters

Name Type
dataSourceJSON any
serializer DxDesigner.Analytics.Utils.ModelSerializer

Properties

context Property

Declaration

context: ko.ObservableArray<ContextItem>

Property Value

Type
ObservableArray<ContextItem>

queries Property

Declaration

queries: ko.ObservableArray<QueryNode>

Property Value

Type
ObservableArray<QueryNode>

sources Property

Declaration

sources: ko.ObservableArray<Source>

Property Value

Type
ObservableArray<Source>

Methods

getDisplayNamePrefix Method

Declaration

getDisplayNamePrefix(): string

Returns

Type
string

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray