[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Cube implementation derives the cells of the cube from a measures list and a !:MultidimCube containing
net.esper.view.stat.BaseStatisticsBean.
The following tables list the members exposed by the CubeImpl type.
Public Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() | 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.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Constructors
Name | Description | |
---|---|---|
![]() | CubeImplNew | Constructor. Takes a fact cube schema and a derivation strategy to be used when
a measure cube needs to be derived.
|
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;
|