[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Utility methods for dealing with Cube multidimensional tables (OLAP style).
Enables iterating within dimensions, obtaining cell count for dimension sizes etc..
Cubes can be 1-dimensional to n-dimensional and these utility methods deal with this variety.
The following tables list the members exposed by the CubeDimensionHelper type.
Public Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | GetDimensionSizes | Compile an array of dimension sizes. The array contains as many elements as there are dimensions.
The size of each dimension is returned in each array element.
For example, a return value of [2,3,4] denotes a 3 dimensions where the first dimension
has 2 members, the second dimension has 3 members, and the 3rd dimension has 4 members.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() ![]() | GetOrdinal | Given index values for each dimension and all dimension sizes this method returns an ordinal value.
For example, for dimensionIndizes [1, 4, 3] and sizes [2, 5, 4] the ordinal is 1 + 4 * 2 + 3 * 10.
|
![]() ![]() | GetTotalCells | Returns the number of cells in a cube that has the given dimension sizes. |
![]() | GetType | (Inherited from Object.) |
![]() ![]() | NextIndize | Increments the index values in the dimensionIndizes array given each dimension's size.
For example, if dimension sizes are [3, 2, 4] then the indizes follow this order:
[0,0,0] [1,0,0] [2,0,0] [0,1,0] ... [1,0,3] [2,0,3] [0,1,3] [1,1,3] [2,1,3]
This example shows indize Start and end ranges.
|
![]() | ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() | Finalize | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |