#30 Make ParseTreeNode serializable

Future Release
open
nobody
API (6)
5
2013-10-03
2012-04-13
Xavier Cho
No

When olap4j is used in an web application as a backend for a pivot component, sometimes it's necessary to store its state including parse tree nodes in session. In this case, the parse tree should be serializable as it could be potentially distributed among clusters or saved to file.

So it would be useful if ParseTreeNode class implements java.io.Serializable.

Discussion

  • Luc Boudreau
    Luc Boudreau
    2013-10-03

    There are references to the rich olap4j objects in that area. We can't easily make this serializable.

    • We should remove all of these objects and keep only the serializable values

    OR

    • We pass a connection context to an externalizer which knows how to re-hydrate the objects.

    This won't be done for olap4j 2.0.

     
  • Luc Boudreau
    Luc Boudreau
    2013-10-03

    • Group: --> Future Release