Package org.olap4j.query

Examples of org.olap4j.query.QueryAxis


  @NotNull
  private Element appendAxes(@NotNull Element rootElement) {

    Element axes = new Element("Axes");

    QueryAxis rows = query.getAxes().get(Axis.ROWS);
    if (rows != null) {
      Element rowsElement = createAxisElement(rows);
      axes.addContent(rowsElement);
    }

    QueryAxis columns = query.getAxes().get(Axis.COLUMNS);
    if (columns != null) {
      Element columnsElement = createAxisElement(columns);
      axes.addContent(columnsElement);
    }

    QueryAxis filters = query.getAxes().get(Axis.FILTER);
    if (filters != null) {
      Element filtersElement = createAxisElement(filters);
      axes.addContent(filtersElement);
    }

    QueryAxis pages = query.getAxes().get(Axis.PAGES);
    if (pages != null) {
      Element pagesElement = createAxisElement(pages);
      axes.addContent(pagesElement);
    }
View Full Code Here

TOP

Related Classes of org.olap4j.query.QueryAxis

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.