net.esper.indicator.pretty
Class CubeCellStringRenderer
java.lang.Object
net.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CubeCellStringRenderer
public CubeCellStringRenderer()
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