[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Interface for querying multidimensional data.
net.esper.view.stat.olap.Dimension presents information about the dimensionality of the data.
Cells are net.esper.view.stat.olap.Cell instances.
The identification of cell in the cube occurs by member values for each dimension.
The following tables list the members exposed by the Cube type.
Public Methods
Name | Description | |
---|---|---|
![]() | GetMembers | Returns the member value for each dimension that intersect to identify the cell of the given ordinal. |
![]() | GetOrdinal | Given the the members of each dimension that define the intersection, returns the ordinal of a measure. |
Public Properties
Name | Description | |
---|---|---|
![]() | Dimensions | Returns dimensions. Implementations have at least 1 dimension and can be n-dimensional. |
![]() | Measures | Returns all measures.
Individual measures can be retrieved directly by indexing into the array of measures.
A formual for calculating an ordinal for a 3-dimensional cube is as follows:
ordinal = dimension[0].index + dimension[1].index * dimension[0].size +
dimension[2].index * dimension[0].size * dimension[1].size;
|