Class MondrianInprocProxy


  • public class MondrianInprocProxy
    extends 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 Detail

      • 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:"
    • Method Detail

      • get

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

        public Future<byte[]> submit​(XmlaOlap4jServerInfos infos,
                                     String request)
      • getEncodingCharsetName

        public String getEncodingCharsetName()