Package io.revealbi.core.data
Class RVResourceBasedDataSourceItem
java.lang.Object
io.revealbi.core.data.RVDataSourceItem
io.revealbi.core.data.RVResourceBasedDataSourceItem
- Direct Known Subclasses:
RVCsvDataSourceItem,RVExcelDataSourceItem,RVJsonDataSourceItem
The base abstract class representing a data source item getting data from a file (a resource).
This is the base class for CSV, Excel and JSON data source items.
It contains the reference to the resource item providing the file, for example a CSV file from a Web Resource URL
will be represented as a
RVCsvDataSourceItem referencing a RVWebResourceDataSourceItem.-
Constructor Summary
ConstructorsConstructorDescriptionRVResourceBasedDataSourceItem(RVDashboardDataSource dataSource, IRVResourceItem resourceItem) -
Method Summary
Modifier and TypeMethodDescriptionThe resource item used to get the data for the referenced file, must be an item from one of the resource providers: Sharepoint, Web Resource, REST API, etc.setResourceItem(IRVResourceItem value) The resource item used to get the data for the referenced file, must be an item from one of the resource providers: Sharepoint, Web Resource, REST API, etc.Methods inherited from class io.revealbi.core.data.RVDataSourceItem
getDataSource, getDefaultRefreshRate, getDescription, getId, getSubtitle, getTitle, setDataSource, setDefaultRefreshRate, setDescription, setId, setSubtitle, setTitle
-
Constructor Details
-
RVResourceBasedDataSourceItem
public RVResourceBasedDataSourceItem(RVDashboardDataSource dataSource, IRVResourceItem resourceItem)
-
-
Method Details
-
setResourceItem
The resource item used to get the data for the referenced file, must be an item from one of the resource providers: Sharepoint, Web Resource, REST API, etc.- Parameters:
value-- Returns:
-
getResourceItem
The resource item used to get the data for the referenced file, must be an item from one of the resource providers: Sharepoint, Web Resource, REST API, etc.- Returns:
-