#8 Cube object lacks a isDrillThroughEnabled() method

olap4j-2.0
open
7
2013-10-03
2008-11-05
No

The Cube object in the API lacks a way of determining if a cube is drill through enabled or not. This is a simple boolean value that most Olap servers implement in their drivers already. Adding this to the API should not give too much trouble to future implementors, since it's so widely used. XML/A servers already return it through the MDSCHEMA_CUBE discovery method. Mondrian already implements it.

I propose the following signature :

boolean isDrillThroughEnabled()

I'll need this to implement it the "kosher" way in the XML/A driver. Both the API and the drivers need this functionality before 1.0 i think. It's easy and fast to implement. The Cell object already has a ResultSet drillThrough() method for that. Any insights?

Discussion

  • Julian Hyde

    Julian Hyde - 2008-11-05

    If MDSCHEMA_CUBES has this attribute, this is a no-brainer; go for it.

    I can envisage a cube where some measures are drillable and others are not. In this case I suppose that cube.isDrillThroughEnabled would return true and yet some cells would return null from Cell.drillThrough, meaning that they are not drillable. That would be OK.

     
  • Luc Boudreau

    Luc Boudreau - 2008-11-06

    If I add the method to the API, this will create compiler errors and a rupture of compatibility with the current Mondrian release. Please confirm that this is what you want.

     
  • Luc Boudreau

    Luc Boudreau - 2013-10-03
    • labels: API --> Generic XML/A driver
    • Group: --> Future Release
     
  • Luc Boudreau

    Luc Boudreau - 2013-10-03
    • Group: Future Release --> olap4j-2.0
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks