Class ExporterResource
java.lang.Object
net.datenwerke.rs.saiku.server.rest.resources.ExporterResource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
QueryServlet contains all the methods required when manipulating an OLAP Query.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionResponseexportChart(String type, String svg, Integer size, String name) Export chart to a file.ResponseExport the query to a CSV file format.ResponseexportExcel(String file, String formatter, String name, HttpServletRequest servletRequest) Export query to excel file format.ResponseexportHtml(String file, String formatter, Boolean css, Boolean tableonly, Boolean wrapcontent, HttpServletRequest servletRequest) Export the current resultset to an HTML file.ResponseexportJson(String file, String formatter, HttpServletRequest servletRequest) Export the query response to JSON.
-
Constructor Details
-
ExporterResource
public ExporterResource()
-
-
Method Details
-
exportExcel
public Response exportExcel(String file, String formatter, String name, HttpServletRequest servletRequest) Export query to excel file format. -
exportCsv
Export the query to a CSV file format. -
exportJson
Export the query response to JSON. -
exportHtml
public Response exportHtml(String file, String formatter, Boolean css, Boolean tableonly, Boolean wrapcontent, HttpServletRequest servletRequest) Export the current resultset to an HTML file. -
exportChart
Export chart to a file.
-