Package mondrian.olap

Examples of mondrian.olap.AxisOrdinal


    Query query = result.getQuery();
    Axis[] resultAxes = result.getAxes();
    axes = new JRMondrianAxis[resultAxes.length];
    for (int i = 0; i < resultAxes.length; i++)
    {
      AxisOrdinal ordinal = AxisOrdinal.StandardAxisOrdinal.forLogicalOrdinal(i);
      axes[i] = new JRMondrianAxis(resultAxes[i], query.getMdxHierarchiesOnAxis(ordinal), factory);
    }
  }
View Full Code Here


    public CellSet getCellSet() {
        return olap4jCellSet;
    }

    public CellSetAxisMetaData getAxisMetaData() {
        final AxisOrdinal axisOrdinal = queryAxis.getAxisOrdinal();
        if (axisOrdinal.isFilter()) {
            return olap4jCellSet.getMetaData().getFilterAxisMetaData();
        } else {
            return olap4jCellSet.getMetaData().getAxesMetaData().get(
                axisOrdinal.logicalOrdinal());
        }
    }
View Full Code Here

TOP

Related Classes of mondrian.olap.AxisOrdinal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.