mondrian.olap4j
Class MondrianInprocProxy
java.lang.Object
mondrian.olap4j.MondrianInprocProxy
- All Implemented Interfaces:
- XmlaOlap4jProxy
public class MondrianInprocProxy
- extends Object
- implements XmlaOlap4jProxy
Proxy which implements XMLA requests by talking to mondrian
in-process. This is more convenient to debug than an inter-process
request using HTTP.
- Author:
- jhyde
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MondrianInprocProxy
public MondrianInprocProxy(Map<String,String> catalogNameUrls,
String urlString)
- Creates and initializes a MondrianInprocProxy.
- Parameters:
catalogNameUrls
- Collection of catalog names and the URL where
their catalog is to be found. For testing purposes, this should contain
a catalog called "FoodMart".urlString
- JDBC connect string; must begin with "jdbc:mondrian:"
get
public byte[] get(XmlaOlap4jServerInfos infos,
String request)
- Specified by:
get
in interface XmlaOlap4jProxy
submit
public Future<byte[]> submit(XmlaOlap4jServerInfos infos,
String request)
- Specified by:
submit
in interface XmlaOlap4jProxy
getEncodingCharsetName
public String getEncodingCharsetName()
- Specified by:
getEncodingCharsetName
in interface XmlaOlap4jProxy