Package io.revealbi.core.data
Interface IProcessDataOnServerDataSource
- All Known Implementing Classes:
RVAzureCosmosDBDataSource,RVAzureSqlDataSource,RVAzureSynapseDataSource,RVClickHouseDataSource,RVDatabricksDataSource,RVElasticsearchDataSource,RVMongoDBDataSource,RVMySqlDataSource,RVPostgresDataSource,RVSnowflakeDataSource,RVSqlPDSDataSource,RVSqlServerDataSource
public interface IProcessDataOnServerDataSource
Interface for data sources that support the "Process Data on Server" option,
allowing queries to be executed on the server instead of fetching all data to the client.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the default value for "Process Data on Server" option for this data source.booleanGets whether the user is allowed to change the value for "Process Data on Server" option.voidsetProcessDataOnServerDefaultValue(boolean value) Sets the default value for "Process Data on Server" option for this data source.voidsetProcessDataOnServerReadOnly(boolean value) Sets whether the user is allowed to change the value for "Process Data on Server" option.
-
Method Details
-
getProcessDataOnServerDefaultValue
boolean getProcessDataOnServerDefaultValue()Gets the default value for "Process Data on Server" option for this data source. The end user can still change the value, unlessgetProcessDataOnServerReadOnly()is true.- Returns:
- the default value for the "Process Data on Server" option
-
setProcessDataOnServerDefaultValue
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)is true.- Parameters:
value- the default value for the "Process Data on Server" option
-
getProcessDataOnServerReadOnly
boolean getProcessDataOnServerReadOnly()Gets whether the user is allowed to change the value for "Process Data on Server" option. When true, the default value will always be used.- Returns:
- true if the option is read-only
-
setProcessDataOnServerReadOnly
void setProcessDataOnServerReadOnly(boolean value) Sets whether the user is allowed to change the value for "Process Data on Server" option. When set to true, the default value will always be used.- Parameters:
value- true to make the option read-only
-