com.espertech.esper.indicator.pretty
Class CubeCellStringRenderer

java.lang.Object
  extended by com.espertech.esper.indicator.pretty.CubeCellStringRenderer

public final class CubeCellStringRenderer
extends Object

Utility class that takes a cube and renders it as a flattened table of string and double. The double value


Constructor Summary
CubeCellStringRenderer()
           
 
Method Summary
static Map<String,Double> renderCube(Cube cube)
          Render a multidimensional table (see Cube) as flatted out structure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CubeCellStringRenderer

public CubeCellStringRenderer()
Method Detail

renderCube

public static Map<String,Double> renderCube(Cube cube)
Render a multidimensional table (see Cube) as flatted out structure. Renders each cell's intersecting members of each dimension into a single String.

Parameters:
cube - is the cube to render
Returns:
map containing rendered cell/column/row/page dimension members as key and cell values as values

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com