org.openi.analysis
Class AnalysisGenerator

java.lang.Object
  extended by org.openi.analysis.AnalysisGenerator

public class AnalysisGenerator
extends java.lang.Object

Intended to generate analyses for a high level EDA process


Constructor Summary
AnalysisGenerator()
           
 
Method Summary
 java.util.Map generateMdxForDimensions(Datasource datasource, java.lang.String cube)
          key - title "measures by dimensionName" value - mdx String
 java.util.Map generateMdxForDimensions(Datasource datasource, java.lang.String cube, java.util.List measures)
          key - title "measures by dimensionName" value - mdx String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalysisGenerator

public AnalysisGenerator()
Method Detail

generateMdxForDimensions

public java.util.Map generateMdxForDimensions(Datasource datasource,
                                              java.lang.String cube)
                                       throws com.tonbeller.jpivot.olap.model.OlapException
key - title "measures by dimensionName" value - mdx String

Parameters:
datasource -
cube -
Returns:
Map of mdx statements using the default measure
Throws:
com.tonbeller.jpivot.olap.model.OlapException

generateMdxForDimensions

public java.util.Map generateMdxForDimensions(Datasource datasource,
                                              java.lang.String cube,
                                              java.util.List measures)
                                       throws com.tonbeller.jpivot.olap.model.OlapException
key - title "measures by dimensionName" value - mdx String

Parameters:
measures - list to put into the mdx statements
Throws:
com.tonbeller.jpivot.olap.model.OlapException