Package org.saiku.olap.util.formatter

Examples of org.saiku.olap.util.formatter.HierarchicalCellSetFormatter$AxisOrdinalInfo


  private ExcelExporter() {

  }

  public static byte[] exportExcel(CellSet cellSet, List<ThinHierarchy> filters) {
    return exportExcel(cellSet, new HierarchicalCellSetFormatter(), filters);
  }
View Full Code Here


  }


  @NotNull
  public CellDataSet execute(String queryName) {
    return execute(queryName, new HierarchicalCellSetFormatter());
  }
View Full Code Here

  public CellDataSet execute(String queryName, String formatter) {
    formatter = formatter == null ? "" : formatter.toLowerCase();
    if (formatter.equals("flat")) {
      return execute(queryName, new CellSetFormatter());
    } else if (formatter.equals("hierarchical")) {
      return execute(queryName, new HierarchicalCellSetFormatter());
    } else if (formatter.equals("flattened")) {
      return execute(queryName, new FlattenedCellSetFormatter());
    }
    return execute(queryName, new FlattenedCellSetFormatter());
  }
View Full Code Here

  @NotNull
  public CellDataSet executeMdx(String queryName, String mdx) {
    qm2mdx(queryName);
    setMdx(queryName, mdx);
    return execute(queryName, new HierarchicalCellSetFormatter());
  }
View Full Code Here

    if (formatter.equals("flat")) {
      return getExport(queryName, type, new CellSetFormatter());
    } else if (formatter.equals("flattened")) {
      return getExport(queryName, type, new FlattenedCellSetFormatter());
    } else if (formatter.equals("hierarchical")) {
      return getExport(queryName, type, new HierarchicalCellSetFormatter());
    }

    return getExport(queryName, type, new FlattenedCellSetFormatter());
  }
View Full Code Here

      ICellSetFormatter icf;
      formatter = formatter == null ? "" : formatter.toLowerCase();
      if (formatter.equals("flat")) {
        icf = new CellSetFormatter();
      } else if (formatter.equals("hierarchical")) {
        icf = new HierarchicalCellSetFormatter();
      } else if (formatter.equals("flattened")) {
        icf = new FlattenedCellSetFormatter();
      } else {
        icf = new FlattenedCellSetFormatter();
      }
View Full Code Here

  private OlapResultSetUtil() {
  }

  @NotNull
  public static CellDataSet cellSet2Matrix(final CellSet cellSet) {
    final ICellSetFormatter formatter = new HierarchicalCellSetFormatter();
    return cellSet2Matrix(cellSet, formatter);
  }
View Full Code Here

TOP

Related Classes of org.saiku.olap.util.formatter.HierarchicalCellSetFormatter$AxisOrdinalInfo

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.