Package io.revealbi.core.data
Interface IRVDataProvider
public interface IRVDataProvider
The interface that must be implemented to return in-memory data for dashboards. It must be passed to Reveal Engine initialization.
-
Method Summary
Modifier and TypeMethodDescriptiongetData(IRVUserContext userContext, RVInMemoryDataSourceItem dataSourceItem) Returns the in-memory data for this data source, you can use theRVInMemoryDataSourceItem.getDatasetId()property to know what dataset to return.
-
Method Details
-
getData
Returns the in-memory data for this data source, you can use theRVInMemoryDataSourceItem.getDatasetId()property to know what dataset to return.- Parameters:
userContext- The user context of the user requesting data, as returned by your user context provider.dataSourceItem- The in-memory data source item to return the data for.- Returns:
- An instance of
IRVInMemoryDatacontaining the data for the given dataset ID, or null if such dataset ID is not valid.
-