Mondrian and Pivot4J

http://www.drdobbs.com/database/olap4j-online-analytical-processing-for/230800051https://github.com/OSBI/saiku/blob/master/saiku-core/saiku-olap-util/src/main/java/mondrian/olap4j/SaikuMondrianHelper.java