Class MondrianInprocProxy


  • public class MondrianInprocProxy
    extends java.lang.Object
    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
    • Constructor Summary

      Constructors 
      Constructor Description
      MondrianInprocProxy​(java.util.Map<java.lang.String,​java.lang.String> catalogNameUrls, java.lang.String urlString)
      Creates and initializes a MondrianInprocProxy.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] get​(XmlaOlap4jServerInfos infos, java.lang.String request)  
      java.lang.String getEncodingCharsetName()  
      java.util.concurrent.Future<byte[]> submit​(XmlaOlap4jServerInfos infos, java.lang.String request)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MondrianInprocProxy

        public MondrianInprocProxy​(java.util.Map<java.lang.String,​java.lang.String> catalogNameUrls,
                                   java.lang.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:"
    • Method Detail

      • get

        public byte[] get​(XmlaOlap4jServerInfos infos,
                          java.lang.String request)
      • submit

        public java.util.concurrent.Future<byte[]> submit​(XmlaOlap4jServerInfos infos,
                                                          java.lang.String request)
      • getEncodingCharsetName

        public java.lang.String getEncodingCharsetName()