Examples of HierarchicalCellSetFormatter


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

  private ExcelExporter() {

  }

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

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

  }


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

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

  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

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

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

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

    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

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

      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

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

  private OlapResultSetUtil() {
  }

  @NotNull
  public static CellDataSet cellSet2Matrix(final CellSet cellSet) {
    final ICellSetFormatter formatter = new HierarchicalCellSetFormatter();
    return cellSet2Matrix(cellSet, formatter);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.