|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.esper.view.stat.olap.CubeImpl
public final class CubeImpl
Cube implementation derives the cells of the cube from a measures list and a MultidimCube containing
BaseStatisticsBean.
| Constructor Summary | |
|---|---|
CubeImpl(MultidimCube<BaseStatisticsBean> cube,
String[] measuresToDerive)
Constructor. |
|
| Method Summary | |
|---|---|
Dimension[] |
getDimensions()
Returns dimensions. |
Cell[] |
getMeasures()
Returns all measures. |
DimensionMember[] |
getMembers(int ordinal)
Returns the member value for each dimension that intersect to identify the cell of the given ordinal. |
int |
getOrdinal(DimensionMember[] members)
Given the the members of each dimension that define the intersection, returns the ordinal of a measure. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CubeImpl(MultidimCube<BaseStatisticsBean> cube,
String[] measuresToDerive)
cube - contains the fact cube and related intomeasuresToDerive - a list of well-named measures to derive| Method Detail |
|---|
public final Dimension[] getDimensions()
Cube
getDimensions in interface Cubepublic final Cell[] getMeasures()
Cube
getMeasures in interface Cubepublic final DimensionMember[] getMembers(int ordinal)
Cube
getMembers in interface Cubeordinal - is the cell ordinal, starting at zero and with a max value of Cell[].length - 1.
public final int getOrdinal(DimensionMember[] members)
Cube
getOrdinal in interface Cubemembers - is an array of members within each dimension that intersect and thus define the cell
position
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||