Package io.revealbi.core.data
Class RVSqlBasedDataSourceItem
java.lang.Object
io.revealbi.core.data.RVDataSourceItem
io.revealbi.core.data.RVSqlBasedDataSourceItem
- Direct Known Subclasses:
RVOracleDataSourceItem,RVRedshiftDataSourceItem,RVSqlPDSDataSourceItem,RVSyBaseDataSourceItem
The base item class used to represent a dataset from one of the supported database systems.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRVSqlBasedDataSourceItem(RVDashboardDataSource dataSource) -
Method Summary
Modifier and TypeMethodDescription(Optional) Custom SQL query to use when getting data.Name of the database to connect to, optional as this value is usually specified in the data source object.getTable()Name of the table (or view) to get data from.setCustomQuery(String value) (Optional) Custom SQL query to use when getting data.setDatabase(String value) Name of the database to connect to, optional as this value is usually specified in the data source object.Name of the table (or view) to get data from.Methods inherited from class io.revealbi.core.data.RVDataSourceItem
getDataSource, getDefaultRefreshRate, getDescription, getId, getSubtitle, getTitle, setDataSource, setDefaultRefreshRate, setDescription, setId, setSubtitle, setTitle
-
Constructor Details
-
RVSqlBasedDataSourceItem
-
-
Method Details
-
setDatabase
Name of the database to connect to, optional as this value is usually specified in the data source object.- Parameters:
value-- Returns:
-
getDatabase
Name of the database to connect to, optional as this value is usually specified in the data source object.- Returns:
-
setTable
Name of the table (or view) to get data from.- Parameters:
value-- Returns:
-
getTable
Name of the table (or view) to get data from.- Returns:
-
setCustomQuery
(Optional) Custom SQL query to use when getting data.- Parameters:
value-- Returns:
-
getCustomQuery
(Optional) Custom SQL query to use when getting data.- Returns:
-