|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.xmla.XMLA_SOAP
public class XMLA_SOAP
Handling XMLA SOAP calls
Field Summary |
---|
Fields inherited from interface com.tonbeller.jpivot.olap.model.OlapDiscoverer |
---|
PROVIDER_MICROSOFT, PROVIDER_MONDRIAN, PROVIDER_SAP |
Constructor Summary | |
---|---|
XMLA_SOAP(java.lang.String uri,
java.lang.String user,
java.lang.String password)
c'tor set URI, password, user and create URL no datasource, no provider, will be determined by discover datasource |
|
XMLA_SOAP(java.lang.String uri,
java.lang.String user,
java.lang.String password,
int newProvider)
c'tor set URI, password, user and create URL provider given, datasource will be determined by discover datasource |
|
XMLA_SOAP(java.lang.String uri,
java.lang.String user,
java.lang.String password,
java.lang.String dataSource)
c'tor set URI, password, user and create URL datasource given, provider will be determined from datasource |
Method Summary | |
---|---|
java.util.List |
discoverCat()
retrieve catalogs in data source |
java.util.List |
discoverCube(java.lang.String cat)
retrieve cubes in data source |
java.util.List |
discoverDim(java.lang.String cat,
java.lang.String cube)
retrieve dimensions in data source |
java.util.Map |
discoverDS()
retrieve data source properties |
java.util.List |
discoverDSProps()
retrieve datasource properties |
java.util.List |
discoverHier(java.lang.String cat,
java.lang.String cube,
java.lang.String dimension)
retrieve hierarchies in data source |
java.util.List |
discoverLev(java.lang.String cat,
java.lang.String cube,
java.lang.String dimension,
java.lang.String hier)
retrieve levels in data source |
java.util.List |
discoverMem(java.lang.String cat,
java.lang.String cube,
java.lang.String dimension,
java.lang.String hierarchy,
java.lang.String level)
retrieve members in data source |
java.util.List |
discoverMemTree(java.lang.String cat,
java.lang.String cube,
java.lang.String member,
int treeop)
retrieve member tree in data source for given catalog, cube, member |
java.util.List |
discoverProp(java.lang.String cat,
java.lang.String cube,
java.lang.String dimension,
java.lang.String hierarchy,
java.lang.String level)
retrieve member properties in data source for given catalog, cube, dimension, hierarchy, level |
java.util.List |
discoverSapVar(java.lang.String cat,
java.lang.String cube)
retrieve SAP variables for given catalog, cube |
void |
executeDrillQuery(java.lang.String query,
java.lang.String catalog,
QueryResultHandler handler)
|
void |
executeQuery(java.lang.String query,
java.lang.String catalog,
QueryResultHandler handler)
Execute query |
java.lang.String[][] |
getHeaders()
|
int |
getProvider()
|
void |
setHeaders(java.lang.String[][] headers)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLA_SOAP(java.lang.String uri, java.lang.String user, java.lang.String password) throws OlapException
uri
- user
- password
-
OlapException
public XMLA_SOAP(java.lang.String uri, java.lang.String user, java.lang.String password, java.lang.String dataSource) throws OlapException
uri
- user
- password
- dataSource
-
OlapException
public XMLA_SOAP(java.lang.String uri, java.lang.String user, java.lang.String password, int newProvider) throws OlapException
uri
- user
- password
- provider
-
OlapException
Method Detail |
---|
public java.util.List discoverCat() throws OlapException
discoverCat
in interface OlapDiscoverer
OlapException
DataSourceBrowser
public java.util.List discoverDSProps() throws OlapException
discoverDSProps
in interface OlapDiscoverer
OlapException
DataSourceBrowser
public java.util.List discoverCube(java.lang.String cat) throws OlapException
discoverCube
in interface OlapDiscoverer
cat
- catalog
OlapException
DataSourceBrowser
public java.util.List discoverDim(java.lang.String cat, java.lang.String cube) throws OlapException
discoverDim
in interface OlapDiscoverer
cat
- catalog namecube
- cube name
OlapException
DataSourceBrowser
public java.util.List discoverHier(java.lang.String cat, java.lang.String cube, java.lang.String dimension) throws OlapException
discoverHier
in interface OlapDiscoverer
cat
- name of catalogcube
- name of cubedimension
- unique name of dimension, can be null
OlapException
DataSourceBrowser
public java.util.List discoverLev(java.lang.String cat, java.lang.String cube, java.lang.String dimension, java.lang.String hier) throws OlapException
discoverLev
in interface OlapDiscoverer
cat
- name of catalogcube
- name of cubedimension
- unique name of dimension, can be nullhier
- unique name of hierarchy, can be null
OlapException
DataSourceBrowser
public java.util.List discoverMem(java.lang.String cat, java.lang.String cube, java.lang.String dimension, java.lang.String hierarchy, java.lang.String level) throws OlapException
discoverMem
in interface OlapDiscoverer
cat
- name of catalogcube
- name of cubedimension
- unique name of dimensionhierarchy
- unique name of hierarchylevel
- unique name of level
OlapException
DataSourceBrowser
public java.util.List discoverMemTree(java.lang.String cat, java.lang.String cube, java.lang.String member, int treeop) throws OlapException
discoverMemTree
in interface OlapDiscoverer
cat
- name of catalogcube
- name of cubemember
- unique name of membertreeop
- bit combination according to TREEOP specification
MDTREEOP_CHILDREN = 1
MDTREEOP_SIBLINGS = 2
MDTREEOP_PARENT = 4
MDTREEOP_SELF = 8
MDTREEOP_DESCENDANTS = 16
MDTREEOP_ANCESTORS = 32
OlapException
OlapDiscoverer.discoverMemTree(java.lang.String, java.lang.String, java.lang.String, int)
public java.util.Map discoverDS() throws OlapException
discoverDS
in interface OlapDiscoverer
OlapException
DataSourceBrowser
public java.util.List discoverProp(java.lang.String cat, java.lang.String cube, java.lang.String dimension, java.lang.String hierarchy, java.lang.String level) throws OlapException
discoverProp
in interface OlapDiscoverer
cat
- name of catalogcube
- name of cubedimension
- unique name of dimensionhierarchy
- unique name of hierarchylevel
- unique name of level
OlapException
OlapDiscoverer.discoverProp(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public java.util.List discoverSapVar(java.lang.String cat, java.lang.String cube) throws OlapException
discoverSapVar
in interface OlapDiscoverer
cat
- name of catalogcube
- name of cube
OlapException
OlapDiscoverer.discoverProp(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void executeQuery(java.lang.String query, java.lang.String catalog, QueryResultHandler handler) throws OlapException
query
- - MDX to be executedcatalog
- handler
- Callback handler
OlapException
public void executeDrillQuery(java.lang.String query, java.lang.String catalog, QueryResultHandler handler) throws OlapException
OlapException
public int getProvider()
getProvider
in interface OlapDiscoverer
public java.lang.String[][] getHeaders()
public void setHeaders(java.lang.String[][] headers)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |