Package io.revealbi.core.data
Class RVDataSourceItem
java.lang.Object
io.revealbi.core.data.RVDataSourceItem
- Direct Known Subclasses:
RVAnalysisServicesDataSourceItem,RVAthenaDataSourceItem,RVAzureCosmosDBDataSourceItem,RVBaseSharePointDataSourceItem,RVBigQueryDataSourceItem,RVBoxDataSourceItem,RVDropboxDataSourceItem,RVDynamicsCrmDataSourceItem,RVElasticsearchDataSourceItem,RVGoogleAnalytics4DataSourceItem,RVGoogleDriveDataSourceItem,RVGoogleSearchConsoleDataSourceItem,RVHubspotDataSourceItem,RVInMemoryDataSourceItem,RVLocalFileDataSourceItem,RVMarketoDataSourceItem,RVMongoDBDataSourceItem,RVODataDataSourceItem,RVOneDriveDataSourceItem,RVQuickBooksDataSourceItem,RVReportingServicesDataSourceItem,RVResourceBasedDataSourceItem,RVRESTDataSourceItem,RVS3DataSourceItem,RVSqlBasedDataSourceItem,RVWebResourceDataSourceItem
The basic class for data source items that can be used by visualizations to get data.
When getting data from a database for example, the data source object contains the information required to connect
to the database (like server host and database name) and the data source item contains
the information required to get the dataset itself (like table name or view name).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReference to the data source object this item belongs to.Default value to use for "Refresh Data" setting for visualizations created using this item, expressed in minutes (e.g.Description of this data source item.getId()The value that identifies this item in the data source, it might be for example the name of the schema concatenated with the table name.The subtitle of the data source as displayed to users.getTitle()The title of the item, as displayed to the user, it might be for example the name of the table in a database.protected RVDashboardDataSourceReference to the data source object this item belongs to.voidDefault value to use for "Refresh Data" setting for visualizations created using this item, expressed in minutes (e.g.setDescription(String value) Description of this data source item.The value that identifies this item in the data source, it might be for example the name of the schema concatenated with the table name.voidsetSubtitle(String sub) The subtitle of the data source as displayed to users.The title of the item, as displayed to the user, it might be for example the name of the table in a database.
-
Constructor Details
-
RVDataSourceItem
-
-
Method Details
-
setTitle
The title of the item, as displayed to the user, it might be for example the name of the table in a database.- Parameters:
value-- Returns:
-
getTitle
The title of the item, as displayed to the user, it might be for example the name of the table in a database.- Returns:
-
setId
The value that identifies this item in the data source, it might be for example the name of the schema concatenated with the table name.- Parameters:
value-- Returns:
-
getId
The value that identifies this item in the data source, it might be for example the name of the schema concatenated with the table name.- Returns:
-
setDescription
Description of this data source item.- Parameters:
value-- Returns:
-
getDescription
Description of this data source item.- Returns:
-
setDataSource
Reference to the data source object this item belongs to.- Parameters:
value-- Returns:
-
getDataSource
Reference to the data source object this item belongs to.- Returns:
-
getSubtitle
The subtitle of the data source as displayed to users.- Returns:
-
setSubtitle
The subtitle of the data source as displayed to users.- Parameters:
sub-
-
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-. If not set it will use the default value set in the data source object.- Returns:
-
setDefaultRefreshRate
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-. If not set it will use the default value set in the data source object.- Parameters:
v-
-