Code Monkey home page Code Monkey logo

olap4js's Introduction

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 } ));
  });

olap4js's People

Contributors

agrohe21 avatar

Stargazers

 avatar zhaolu avatar Shaurya Agarwal avatar  avatar Angus H. avatar  avatar Chris Lonardo avatar  avatar Joel Latino avatar Anatoly Geyfman avatar Mohammad Bagher Ehtemam avatar Babak Niknia avatar Luca Belluccini avatar  avatar Théo R. avatar  avatar  avatar Christian G. Warden avatar

Watchers

 avatar James Cloos avatar

Forkers

devkat mysky528

olap4js's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.