Assembly: Cubes;
Namespace: Prognoz.Platform.Interop.Cubes;
The ICubeCombinedExecutor interface contains properties and methods used for parallel calculation of output cube matrices.
ICubeCombinedExecutor
To calculate output cube matrices, initialize object of the CubeCombinedExecutor class. Use the AddCube or AddCubeDest method to add cubes of cube display versions, for which parallel calculation must be executed. When the Execute method is executed, a joined selection is generated, according to which a data extraction query is executed. After calculation is finished, use the Count and Item properties to get calculation results.
The added cubes must meet the following requirements to use parallel calculation:
Calculation is available only for standard cubes.
If a filtering method is selected in cube dimension properties, temporary tables must not be used.
If cubes have parameters, the number of parameters must be equal.
If there are server data aggregation settings, these settings must be equal in all added cubes.
If the added cubes do not meet the specified requirements, sequential calculation is executed.
Property name | Brief description | |
The Count property returns the number of available results of parallel cube calculation. | ||
The Item property returns calculation results with the specified index. | ||
The IncludeAttachments property determines whether information about attachments will be obtained on calculation. |
Method name | Brief description | |
The AddCube method adds a cube to the list for parallel calculation. | ||
The AddCubeDest method adds a cube display version into the list for parallel calculation. | ||
The Clear method clears a list of cubes, for which parallel calculation can be executed. | ||
The Execute method executes parallel calculation of cubes. |
See also: