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 Details

    • getData

      IRVInMemoryData getData(IRVUserContext userContext, RVInMemoryDataSourceItem dataSourceItem)
      Returns the in-memory data for this data source, you can use the RVInMemoryDataSourceItem.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 IRVInMemoryData containing the data for the given dataset ID, or null if such dataset ID is not valid.