Class RVSqlBasedDataSourceItem
- java.lang.Object
-
- com.infragistics.reveal.sdk.api.model.RVDataSourceItem
-
- com.infragistics.reveal.sdk.api.model.RVSqlBasedDataSourceItem
-
- Direct Known Subclasses:
RVOracleDataSourceItem
,RVRedshiftDataSourceItem
,RVSqlPDSDataSourceItem
,RVSyBaseDataSourceItem
public abstract class RVSqlBasedDataSourceItem extends RVDataSourceItem
The base item class used to represent a dataset from one of the supported database systems.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RVSqlBasedDataSourceItem(RVDashboardDataSource dataSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCustomQuery()
(Optional) Custom SQL query to use when getting data.String
getDatabase()
Name of the database to connect to, optional as this value is usually specified in the data source object.String
getTable()
Name of the table (or view) to get data from.String
setCustomQuery(String value)
(Optional) Custom SQL query to use when getting data.String
setDatabase(String value)
Name of the database to connect to, optional as this value is usually specified in the data source object.String
setTable(String value)
Name of the table (or view) to get data from.-
Methods inherited from class com.infragistics.reveal.sdk.api.model.RVDataSourceItem
getDataSource, getDefaultRefreshRate, getDescription, getId, getSubtitle, getTitle, setDataSource, setDefaultRefreshRate, setDescription, setId, setSubtitle, setTitle
-
-
-
-
Constructor Detail
-
RVSqlBasedDataSourceItem
protected RVSqlBasedDataSourceItem(RVDashboardDataSource dataSource)
-
-
Method Detail
-
setDatabase
public String setDatabase(String value)
Name of the database to connect to, optional as this value is usually specified in the data source object.- Parameters:
value
-- Returns:
-
getDatabase
public String getDatabase()
Name of the database to connect to, optional as this value is usually specified in the data source object.- Returns:
-
setTable
public String setTable(String value)
Name of the table (or view) to get data from.- Parameters:
value
-- Returns:
-
getTable
public String getTable()
Name of the table (or view) to get data from.- Returns:
-
setCustomQuery
public String setCustomQuery(String value)
(Optional) Custom SQL query to use when getting data.- Parameters:
value
-- Returns:
-
getCustomQuery
public String getCustomQuery()
(Optional) Custom SQL query to use when getting data.- Returns:
-
-