|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openi.xmla.XmlaConnector
public class XmlaConnector
does the work of connecting to an xmla server, queries, parses results. Goal is to isolate from jpivot xmla_soap
| Constructor Summary | |
|---|---|
XmlaConnector()
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
createDefaultMdx(Datasource datasource,
java.lang.String cube,
java.lang.String dimension,
java.util.List measures)
Generates an MDX statement from the cube param, and the dimension param. |
java.util.List |
discoverHier(Datasource datasource,
java.lang.String cube,
java.lang.String dimension)
|
java.util.List |
discoverMeasures(Datasource datasource,
java.lang.String cube)
|
java.util.List |
getCubeList(Datasource datasource)
returns cube list from the olap server using XMLA_SOAP's discoverCube method |
java.util.List |
getDimensionList(Datasource datasource,
java.lang.String cubeName)
Returns a List of dimension names as Strings Includes the Measures! |
com.tonbeller.jpivot.xmla.XMLA_Model |
query(Datasource datasource,
java.lang.String mdxQuery)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlaConnector()
arg0 - | Method Detail |
|---|
public com.tonbeller.jpivot.xmla.XMLA_Model query(Datasource datasource,
java.lang.String mdxQuery)
throws java.io.IOException,
com.tonbeller.jpivot.olap.model.OlapException,
org.xml.sax.SAXException
java.io.IOException
com.tonbeller.jpivot.olap.model.OlapException
org.xml.sax.SAXException
public java.util.List getCubeList(Datasource datasource)
throws com.tonbeller.jpivot.olap.model.OlapException
server - Stringcatalog - Stringuser - Stringpwd - String
com.tonbeller.jpivot.olap.model.OlapException
java.lang.Exception
public java.util.List getDimensionList(Datasource datasource,
java.lang.String cubeName)
throws com.tonbeller.jpivot.olap.model.OlapException
uri - catalog - cubeName - user - pwd -
com.tonbeller.jpivot.olap.model.OlapException
public java.util.List discoverHier(Datasource datasource,
java.lang.String cube,
java.lang.String dimension)
throws com.tonbeller.jpivot.olap.model.OlapException
com.tonbeller.jpivot.olap.model.OlapException
public java.lang.String createDefaultMdx(Datasource datasource,
java.lang.String cube,
java.lang.String dimension,
java.util.List measures)
throws com.tonbeller.jpivot.olap.model.OlapException
datasource - cube - dimension - measures - if you want the mdx to use a specific list of measures use this param
otherwise, you will get [Measures].DefaultMember
com.tonbeller.jpivot.olap.model.OlapException
public java.util.List discoverMeasures(Datasource datasource,
java.lang.String cube)
throws com.tonbeller.jpivot.olap.model.OlapException
com.tonbeller.jpivot.olap.model.OlapException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||