Class: DataProviderFactory

DataProviderFactory

new epiviz.data.DataProviderFactory(config)

data/data-provider-factory.js, line 16

A factory containing all the registered active data providers (like EpivizR connections or PHP servers)

.

A factory containing all the registered active data providers (like EpivizR connections or PHP servers)

Name Type Description
config epiviz.Config

Members

_workspacesDataProviderepiviz.data.DataProvider

innerdataProviderepiviz.data.DataProvider

inner,nullabledataProviderConstructorfunction

inner,nullablewsDataProviderConstructorfunction

Methods

foreach(func)

data/data-provider-factory.js, line 82

Iterates through all registered data providers until the function evaluates to true

.

Iterates through all registered data providers until the function evaluates to true

Name Type Description
func function

get(id){epiviz.data.DataProvider}

data/data-provider-factory.js, line 109
Name Type Description
id string
Returns:
Type Description
epiviz.data.DataProvider

isEmpty(){boolean}

data/data-provider-factory.js, line 92
Returns:
Type Description
boolean

size(){number}

data/data-provider-factory.js, line 100
Returns:
Type Description
number

workspacesDataProvider(){epiviz.data.DataProvider}

data/data-provider-factory.js, line 120
Returns:
Type Description
epiviz.data.DataProvider
comments powered by Disqus