|
||||||||||
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 deriveMethod Detail |
---|
public final Dimension[] getDimensions()
Cube
getDimensions
in interface Cube
public final Cell[] getMeasures()
Cube
getMeasures
in interface Cube
public final DimensionMember[] getMembers(int ordinal)
Cube
getMembers
in interface Cube
ordinal
- 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 Cube
members
- is an array of members within each dimension that intersect and thus define the cell
position
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |