ICubeCacheSaver

Assembly: Cubes;

Description

The ICubeCacheSaver interface contains properties and methods that are used to work with the cached data warehouse of the specified cube.

Comments

When using later releases of Foresight Analytics Platform one may require to update the cached cube data warehouse structure. To do this, open the object described by the ICubeCacheSaver interface for edit and resave it.

Storage update code

Properties

  Property name Brief description
CheckSelection The CheckSelection property determines whether to check the selection, by which cache is saved.
Database The Database property determines the database, to which cube cache should be saved.
Global The Global property determines whether common cache is used for the cube on working of several users.
PartitionDimensionKey The PartitionDimensionKey property determines a dimension key for the specified cube instance, in which the selection will be divided during simultaneous cache update.

Methods

  Method name Brief description
Clear The Clear method clears cache of the specified cube display version.
ClearAllGlobalCaches The ClearAllGlobalCaches method removes cached data of all cubes from the global cache.
ClearGlobalCache The ClearGlobalCache method removes all cached data of the current cube from the global cache.
FindAndLoadCache The FindAndLoadCache method finds and loads cube cache for the specified cube display version with the specified parameter values to the specified matrix and returns whether the corresponding cache is in the database.
GetGlobalCache The GetGlobalCache method returns the cube data matrix obtained from cache according to passed cube cache parameters.
GetGlobalWriteLock The GetGlobalWriteLock method returns the object that controls write lock of cached data for the specified cube parameters.
GetItemsFromDatabase The GetItemsFromDatabase method, according to the specified parameters, gets cache instances from cache warehouse in DBMS.
GetItemsFromMemory The GetItemsFromMemory method, according to the specified parameters, gets cache instances from computer RAM.
SaveCache The SaveCache method saves cache for the cube display version by the specified parameters.
SaveCacheCustom The SaveCacheCustom method saves cache according to the specified parameters and specified custom label.
SaveCube The SaveCube method saves cache for the specified cube display version with default parameters.

See also:

Cubes Assembly Interfaces