EqServiceProvider class

Index

Constructors

Protected Properties

Public Methods

Constructors


constructor

⊕ new EqServiceProvider(context: EqContext): EqServiceProvider

Parameters:


Protected Properties


context

● context: EqContext


Public Methods


createDataModel

▸ createDataModel(): DataModel

Returns DataModel


createQuery

▸ createQuery(): Query

Returns Query


getDataFetcher

▸ getDataFetcher(): DataFetcher

Returns DataFetcher


getHttpClient

▸ getHttpClient(): HttpClient

Returns HttpClient


getModelLoader

▸ getModelLoader(): EqModelLoader

Returns EqModelLoader


getQueryFileLoader

▸ getQueryFileLoader(): QueryFileLoader

Returns QueryFileLoader


getQueryStorage

▸ getQueryStorage(): QueryStorage

Returns QueryStorage


getQuerySynchronizer

▸ getQuerySynchronizer(): QuerySynchronizer

Returns QuerySynchronizer


getTotalCalculator

▸ getTotalCalculator(): TotalsCalculator

Returns TotalsCalculator


getValueListResolver

▸ getValueListResolver(): EqValueListResolver

Returns EqValueListResolver


registerDataFetcherResolver

▸ registerDataFetcherResolver(resolver: (context: EqContext) => DataFetcher): void

Parameters:

Returns void


registerDataModelResolver

▸ registerDataModelResolver(resolver: (context: EqContext) => DataModel): void

Parameters:

Returns void


registerModelLoaderResolver

▸ registerModelLoaderResolver(resolver: (context: EqContext) => EqModelLoader): void

Parameters:

Returns void


registerQueryFileLoaderResolver

▸ registerQueryFileLoaderResolver(resolver: (context: EqContext) => QueryFileLoader): void

Parameters:

Returns void


registerQueryResolver

▸ registerQueryResolver(resolver: (context: EqContext) => Query): void

Parameters:

Returns void


registerQueryStorageResolver

▸ registerQueryStorageResolver(resolver: (context: EqContext) => QueryStorage): void

Parameters:

Returns void


registerQuerySyncronizerResolver

▸ registerQuerySyncronizerResolver(resolver: (context: EqContext) => QuerySynchronizer): void

Parameters:

Returns void


registerTotalCalculator

▸ registerTotalCalculator(resolver: (context: EqContext) => TotalsCalculator): void

Parameters:

  • resolver: (context: EqContext) => TotalsCalculator

Returns void


registerValueListResolver

▸ registerValueListResolver(resolver: (context: EqContext) => EqValueListResolver): void

Parameters:

Returns void


reset

▸ reset(): void

Returns void