Package org.saiku.query

Examples of org.saiku.query.QueryDetails


      throws Exception {
    if (ThinQuery.Type.QUERYMODEL.equals(tq.getType()) && formatter instanceof FlattenedCellSetFormatter) {
      Cube cub = olapDiscoverService.getNativeCube(tq.getCube());
      Query query = Fat.convert(tq, cub);

      QueryDetails details = query.getDetails();
      Measure[] selectedMeasures = new Measure[details.getMeasures().size()];
      for (int i = 0; i < selectedMeasures.length; i++) {
        selectedMeasures[i] = details.getMeasures().get(i);
      }
      result.setSelectedMeasures(selectedMeasures);

      int rowsIndex = 0;
      if (!cellSet.getAxes().get(0).getAxisOrdinal().equals(Axis.ROWS)) {
View Full Code Here

TOP

Related Classes of org.saiku.query.QueryDetails

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.