Package io.revealbi.core.data
Class RVSqlBasedDataSource
java.lang.Object
io.revealbi.core.data.RVDashboardDataSource
io.revealbi.core.data.RVSqlBasedDataSource
- Direct Known Subclasses:
RVOracleDataSource,RVRedshiftDataSource,RVSqlPDSDataSource,RVSyBaseDataSource
The base data source class used to represent a connection to one of the supported database systems.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.revealbi.core.data.RVDashboardDataSource
getDefaultRefreshRate, getId, getProviderKey, getSubtitle, getTitle, setDefaultRefreshRate, setId, setSubtitle, setTitle
-
Constructor Details
-
RVSqlBasedDataSource
public RVSqlBasedDataSource()
-
-
Method Details
-
getHost
Host name or IP address to connect to.- Returns:
-
setHost
Host name or IP address to connect to.- Parameters:
host-
-
getPort
public int getPort()TCP Port to connect to. When using SQL Server with a named instance (host\instance format), set this value to 0 or leave it unset to use dynamic port discovery.- Returns:
-
setPort
public void setPort(int port) TCP Port to connect to. When using SQL Server with a named instance (host\instance format), set this value to 0 or leave it unset to use dynamic port discovery.- Parameters:
port-
-