net.esper.view.stat.olap
Class CubeDerivedValueHelper

java.lang.Object
  extended by net.esper.view.stat.olap.CubeDerivedValueHelper

public final class CubeDerivedValueHelper
extends Object

Strategy for deriving a measure cube from a fact cube. Derives a measure cube consisting of the number of datapoints only.


Constructor Summary
CubeDerivedValueHelper()
           
 
Method Summary
static Pair<Dimension[],Cell[]> derive(String[] measuresToDerive, MultidimCube<BaseStatisticsBean> cube)
          Derive given statistical measures from the multidim.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CubeDerivedValueHelper

public CubeDerivedValueHelper()
Method Detail

derive

public static final Pair<Dimension[],Cell[]> derive(String[] measuresToDerive,
                                                    MultidimCube<BaseStatisticsBean> cube)
Derive given statistical measures from the multidim. cube returning dimensions and cells.

Parameters:
measuresToDerive - is an array with field names for statistic functions
cube - holds the n-dimensional cells
Returns:
dimensions and cells