Class RVDashboardDataSource

java.lang.Object
io.revealbi.core.data.RVDashboardDataSource
Direct Known Subclasses:
RVAnalysisServicesDataSource, RVAthenaDataSource, RVAzureCosmosDBDataSource, RVBigQueryDataSource, RVBoxDataSource, RVCsvDataSource, RVDropboxDataSource, RVDynamicsCrmDataSource, RVElasticsearchDataSource, RVExcelDataSource, RVGoogleAnalytics4DataSource, RVGoogleDriveDataSource, RVGoogleSearchConsoleDataSource, RVHubspotDataSource, RVInMemoryDataSource, RVJsonDataSource, RVLocalFileDataSource, RVMarketoDataSource, RVMongoDBDataSource, RVODataDataSource, RVOneDriveDataSource, RVQuickBooksDataSource, RVReportingServicesDataSource, RVRESTDataSource, RVS3DataSource, RVSharePointDataSource, RVSqlBasedDataSource, RVWebResourceDataSource

public abstract class RVDashboardDataSource extends Object
The base class representing a data source used in a dashboard, you can see RVDataSourceItem for more information about the relationship between data source and data source items.
  • Constructor Details

    • RVDashboardDataSource

      public RVDashboardDataSource()
  • Method Details

    • getId

      public String getId()
      The ID of the data source.
      Returns:
      The ID of the data source.
    • setId

      public void setId(String id)
      The ID of the data source.
      Parameters:
      id - The ID of the data source.
    • getTitle

      public String getTitle()
      The title of the data source as displayed to users.
      Returns:
      The title of the data source as displayed to users.
    • setTitle

      public void setTitle(String title)
      The title of the data source as displayed to users.
      Parameters:
      title - The title of the data source as displayed to users.
    • getSubtitle

      public String getSubtitle()
      The subtitle of the data source as displayed to users.
      Returns:
      The subtitle of the data source as displayed to users.
    • setSubtitle

      public void setSubtitle(String sub)
      The subtitle of the data source as displayed to users.
      Parameters:
      sub - The subtitle of the data source as displayed to users.
    • getDefaultRefreshRate

      public Number getDefaultRefreshRate()
      Default value to use for "Refresh Data" setting for visualizations created using this item, expressed in minutes (e.g. 1440 = 1 day). A value of N means that whenever the visualization requests data, the engine will return data found in the cache if it's not older than N minutes -this means, if the engine fetched it from the datasource no more than N minutes before-. Set it to override the widget editor default behavior.
      Returns:
      Default value to use for "Refresh Data" setting for visualizations created using this item, expressed in minutes (e.g. 1440 = 1 day). A value of N means that whenever the visualization requests data, the engine will return data found in the cache if it's not older than N minutes -this means, if the engine fetched it from the datasource no more than N minutes before-. Set it to override the widget editor default behavior.
    • setDefaultRefreshRate

      public void setDefaultRefreshRate(Number v)
      Default value to use for "Refresh Data" setting for visualizations created using this item, expressed in minutes (e.g. 1440 = 1 day). A value of N means that whenever the visualization requests data, the engine will return data found in the cache if it's not older than N minutes -this means, if the engine fetched it from the datasource no more than N minutes before-. Set it to override the widget editor default behavior.
      Parameters:
      v - Default value to use for "Refresh Data" setting for visualizations created using this item, expressed in minutes (e.g. 1440 = 1 day). A value of N means that whenever the visualization requests data, the engine will return data found in the cache if it's not older than N minutes -this means, if the engine fetched it from the datasource no more than N minutes before-. Set it to override the widget editor default behavior.
    • getProviderKey

      public abstract String getProviderKey()