从 ruby​​ 接收 XMLA

发布于 2024-12-12 20:03:52 字数 186 浏览 6 评论 0原文

我有一个 ruby​​ 服务器端程序,它使用特定的库向 olap 服务器发送请求并从同一库接收结果数据集。

由于某种原因,我不想调用库方法来接收结果数据集,而是想直接接收文本 XMLA 结果。但我不知道 ruby​​ (或 jruby?) 中执行此操作的代码是什么。我想发送一个查询并从我的休息服务(在 ruby​​ 中)接收“文本”XMLA

I have a ruby server side program that uses a specific library to send request to an olap server and receives the result dataset from the same library.

For some reason, I don't want to call the library methods for receiving result dataset and I want to receive the text XMLA result directly. But I don't know what is the code in ruby (or jruby?) to do this. I want to send a query and receive the 'text' XMLA from my rest service(which is in ruby)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

糖粟与秋泊 2024-12-19 20:03:52

嘿,我发现这有点旧了,但仍然如此。据我所知,您有两种选择:

  1. 使用 https://github.com/rsim/ mondrian-olap - 各种很酷的东西,但需要 jruby,因为它使用 java 库来连接和操作立方体本身

  2. 使用 < a href="https://github.com/drKreso/cube" rel="nofollow">https://github.com/drKreso/cube - 准系统,但您可以连接到 Mondrian XML servlet 通过 savon SOAP 消息并获取数据。适合教育目的,因为它包含所需的消息(如果你想移植到 python,这将是轻而易举的事)

ps 我做出了选择 2) 所以我可能有点偏见:)

Hey I see this is a bit old, but still. As far as I could tell you have two choices:

  1. Use https://github.com/rsim/mondrian-olap - all kinds off cool stuff, but requires jruby since it uses java libraries for connecting and manipulating the cube itself

  2. Use https://github.com/drKreso/cube - barebone as it gets, but you can connect to the Mondrian XML servlet via savon SOAP messages and get the data back. Good for educational purposes since it has the message needed (if you want to port to python it would be a breeze)

p.s. I made the choice 2) so I might be somewhat biased :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文