Skip to content
/ olap4js Public
forked from agrohe21/olap4js

Javascript library to talk to multiple OLAP backends from multiple frontends

Notifications You must be signed in to change notification settings

devkat/olap4js

 
 

Repository files navigation

Overview

olap4js is intended to be a common set of JS objects that can run on multiple clients and with multiple OLAP backends

Host Environments

Browser: Main testing evnironment at the moment

Xmla: The XMLA implementation has full metadata and query execution

Saiku: The Saiku implementation has a metadata discovery implementation and basic query processing

Node.js

The basic olap connection is working, but not Xmla

Installation Linux

  • Install the plugin
$ cd /home/pentaho/pentaho/server/biserver-ee/pentaho-solutions/system
$ git clone https://github.com/agrohe21/olap4js.git

Quick Example

var olapConn = new olapXmla.Connection(), cubes, sw_meta;
  //get all cubes for active connection
  olapConn.getCubes(function(cubes){
    //filter cubes array down to only CATALOG_NAME = SteelWheels
    var sw = filterProperty.apply(cubes, [{type:'equal', property:'CATALOG_NAME', value:'SteelWheels'}]);
    //get the dims, hierarchies, levels and measures for the cube
    sw_meta = sw.getMetadata();
    //simply dump it out to Page DOM
    document.body.appendChild(prettyPrint(sw_meta, { maxDepth:3 } ));
  });

About

Javascript library to talk to multiple OLAP backends from multiple frontends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Shell 0.1%