Package io.revealbi.core
Class RevealSettings
java.lang.Object
io.revealbi.core.RevealSettings
Contains Reveal server settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlugin(RevealPlugin plugin) getAdvancedSetting(String name) Returns the value of the specified advanced setting.Returns all advanced settings.Sets the encryption password for the SQLite cache files (ignored if encryption is disabled)Directory where cache-related files (e.g., downloaded artifacts) are stored.Returns the export configuration.SeesetLicense(String).Maximum number of elements allowed for filters.Expected maximum size of pivot tables or grids, as a number of in-memory cells.Expected maximum number of cells to be processed from any data source (e.g., SQL Server rows, CSV rows).Limit on the number of characters any single string cell may have in a dataset column.Expected maximum size of pivot tables or grids given as the total number of characters across all cells in a dataset.Gets the Redis cache options.Enables the use of encryption of the SQLite cache (only works for the newer SQLite cache).Uses the legacy SQLite cache.voidsetAdvancedSetting(String name, Object value) Sets an advanced setting value.voidvoidvoidsetCachePath(String path) SeegetCachePath().voidvoidsetLicense(String license) License key to unlock Reveal BI Embedded and get rid of the Trial mode.voidWhen replacing data sources (usingIRVDataSourceProvideryou can use local files, this property specifies the root directory to be used for URI's like "local:/Sales.xlsx" which is actually a relative location.voidSets a limit on the size of a single download (e.g.voidSeegetMaxFilterSize().voidvoidSeegetMaxStorageCells().voidvoidvoidsetRedisOptions(RVRedisOptions redisOptions) Sets the Redis cache options.
-
Constructor Details
-
RevealSettings
public RevealSettings()
-
-
Method Details
-
getAdvancedSetting
Returns the value of the specified advanced setting.- Parameters:
name- The advanced setting name.- Returns:
- The value of the specified advanced setting.
-
setAdvancedSetting
Sets an advanced setting value.- Parameters:
name- The advanced setting name.value- The advanced setting value.
-
getAdvancedSettings
Returns all advanced settings.- Returns:
- All advanced settings.
-
getLicense
SeesetLicense(String). -
setLicense
License key to unlock Reveal BI Embedded and get rid of the Trial mode. -
getLocalFilesStoragePath
-
setLocalFilesStoragePath
When replacing data sources (usingIRVDataSourceProvideryou can use local files, this property specifies the root directory to be used for URI's like "local:/Sales.xlsx" which is actually a relative location. -
getMaxDownloadSize
-
setMaxDownloadSize
Sets a limit on the size of a single download (e.g. a CSV file). Default is 200Mb. -
getMaxInMemoryCells
Expected maximum size of pivot tables or grids, as a number of in-memory cells. The engine avoids using too much memory and this setting provides a hint for its memory management. If unset, the engine defaults to 10,000,000 cells. -
setMaxInMemoryCells
-
getMaxStorageCells
Expected maximum number of cells to be processed from any data source (e.g., SQL Server rows, CSV rows). The engine avoids using too much disk space for its cache and this setting provides a hint for its caching management. If unset, the engine defaults to 10,000,000 cells. -
setMaxStorageCells
SeegetMaxStorageCells(). -
getMaxTotalStringsSize
Expected maximum size of pivot tables or grids given as the total number of characters across all cells in a dataset. The engine avoids using too much memory and this setting provides a hint for its memory management. If unset, the engine defaults to 64,000,000 characters. -
setMaxTotalStringsSize
-
getMaxStringCellSize
Limit on the number of characters any single string cell may have in a dataset column. If unset, the engine defaults to 256 characters. -
setMaxStringCellSize
-
getCachePath
Directory where cache-related files (e.g., downloaded artifacts) are stored. Defaults to the system temporary directory if unset. -
setCachePath
SeegetCachePath(). -
getMaxFilterSize
Maximum number of elements allowed for filters. Defaults to 3,000 if unset. -
setMaxFilterSize
SeegetMaxFilterSize(). -
isLegacyCacheEnabled
Uses the legacy SQLite cache. Defaults to true if unset. -
setLegacyCacheEnabled
-
isCacheEncryptionEnabled
Enables the use of encryption of the SQLite cache (only works for the newer SQLite cache). Defaults to false if unset. -
setCacheEncryptionEnabled
-
getCacheEncryptionPassword
Sets the encryption password for the SQLite cache files (ignored if encryption is disabled) -
setCacheEncryptionPassword
-
getRedisOptions
Gets the Redis cache options. When set, Reveal will use Redis instead of the in-memory cache. -
setRedisOptions
Sets the Redis cache options. When set, Reveal will use Redis instead of the in-memory cache. UseRVRedisOptionsto configure the Redis connection (endpoint, credentials, timeouts, etc.). -
getExportConfiguration
Returns the export configuration.- Returns:
- The export configuration.
-
getPlugins
-
addPlugin
-