Package io.revealbi.core.data
Class RVSqlPDSDataSource
java.lang.Object
io.revealbi.core.data.RVDashboardDataSource
io.revealbi.core.data.RVSqlBasedDataSource
io.revealbi.core.data.RVSqlPDSDataSource
- All Implemented Interfaces:
IProcessDataOnServerDataSource
- Direct Known Subclasses:
RVClickHouseDataSource,RVDatabricksDataSource,RVMySqlDataSource,RVPostgresDataSource,RVSnowflakeDataSource,RVSqlServerDataSource
public abstract class RVSqlPDSDataSource
extends RVSqlBasedDataSource
implements IProcessDataOnServerDataSource
Base class for SQL-based data sources supporting "Server-side Processing".
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSets the default value for "Process Data on Server" option for this data source, the end user can still change the value, unlesssetProcessDataOnServerReadOnly(boolean)istrue.booleanWhen set totruethe user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.voidsetProcessDataOnServerDefaultValue(boolean value) Sets the default value for "Process Data on Server" option for this data source, the end user can still change the value, unlesssetProcessDataOnServerReadOnly(boolean)istrue.voidsetProcessDataOnServerReadOnly(boolean value) When set totruethe user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.Methods inherited from class io.revealbi.core.data.RVSqlBasedDataSource
getHost, getPort, setHost, setPortMethods inherited from class io.revealbi.core.data.RVDashboardDataSource
getDefaultRefreshRate, getId, getProviderKey, getSubtitle, getTitle, setDefaultRefreshRate, setId, setSubtitle, setTitle
-
Constructor Details
-
RVSqlPDSDataSource
public RVSqlPDSDataSource()
-
-
Method Details
-
setProcessDataOnServerDefaultValue
public void setProcessDataOnServerDefaultValue(boolean value) Sets the default value for "Process Data on Server" option for this data source, the end user can still change the value, unlesssetProcessDataOnServerReadOnly(boolean)istrue. It defaults totrue.- Specified by:
setProcessDataOnServerDefaultValuein interfaceIProcessDataOnServerDataSource- Parameters:
value-
-
getProcessDataOnServerDefaultValue
public boolean getProcessDataOnServerDefaultValue()Sets the default value for "Process Data on Server" option for this data source, the end user can still change the value, unlesssetProcessDataOnServerReadOnly(boolean)istrue.- Specified by:
getProcessDataOnServerDefaultValuein interfaceIProcessDataOnServerDataSource- Returns:
-
setProcessDataOnServerReadOnly
public void setProcessDataOnServerReadOnly(boolean value) When set totruethe user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.- Specified by:
setProcessDataOnServerReadOnlyin interfaceIProcessDataOnServerDataSource- Parameters:
value-
-
getProcessDataOnServerReadOnly
public boolean getProcessDataOnServerReadOnly()When set totruethe user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.- Specified by:
getProcessDataOnServerReadOnlyin interfaceIProcessDataOnServerDataSource- Returns:
-