Class Query2Resource
java.lang.Object
net.datenwerke.rs.saiku.server.rest.resources.Query2Resource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Saiku Query Endpoints
-
Constructor Summary
ConstructorsConstructorDescriptionQuery2Resource(OlapUtilService olapUtils, ThinQueryService thinQueryService, <any> saikuSessionContainer, <any> authenticatorService, SecurityService securityService) -
Method Summary
Modifier and TypeMethodDescriptionResponseCancel a running query.ThinQuerycreateQuery(String username, String queryName, String jsonFormParam, String fileFormParam, <any> formParams) Create a new Saiku Query.StatusdeleteQuery(String queryName) Delete query from the query pool.ThinQuerydrillacross(String username, String queryName, String position, String returns) Drill across on a result setDrill through on the query result set.ThinQueryEnrich a thin query modelExecute a Saiku QueryResponseexportHtml(String username, String queryname, String format, Boolean css, Boolean tableonly, Boolean wrapcontent) Get HTML exportResponseexportHtml(String username, ThinQuery tq, String format, Boolean css, Boolean tableonly, Boolean wrapcontent) Get HTML exportResponseExport table to PDF.ResponseexportPdfWithChart(String username, String queryName, String svg) Export PDF with chartResponseexportPdfWithChartAndFormat(String username, String queryName, String format, String svg, String name) Export PDF with chart and cellset format.ResponseexportPdfWithFormat(String username, String queryName, String format, String name) Export to PDF with cellset format.ResponsegetDrillthroughExport(String username, String queryName, Integer maxrows, String position, String returns) Export the drill through to a CSV file for further analysisList<SimpleCubeElement> getLevelMembers(String username, String queryName, String hierarchyName, String levelName, boolean result, String searchString, int searchLimit) Get level members from a query.ResponsegetQueryCsvExport(String username, String queryName) Get CSV export of a query.ResponsegetQueryCsvExport(String username, String queryName, String format, String name) Get CSV export of a query.ResponsegetQueryExcelExport(String username, String queryName) Query export to excel.ResponsegetQueryExcelExport(String username, String queryName, String format, String name) Query export to excelThinQueryZoom into a query result table.
-
Constructor Details
-
Query2Resource
public Query2Resource(OlapUtilService olapUtils, ThinQueryService thinQueryService, <any> saikuSessionContainer, <any> authenticatorService, SecurityService securityService)
-
-
Method Details
-
deleteQuery
Delete query from the query pool. -
createQuery
public ThinQuery createQuery(String username, String queryName, String jsonFormParam, String fileFormParam, <any> formParams) throws ServletException Create a new Saiku Query.- Throws:
ServletException
-
execute
Execute a Saiku Query -
cancel
Cancel a running query. -
enrich
Enrich a thin query model -
getLevelMembers
public List<SimpleCubeElement> getLevelMembers(String username, String queryName, String hierarchyName, String levelName, boolean result, String searchString, int searchLimit) Get level members from a query. -
getQueryExcelExport
Query export to excel. -
getQueryExcelExport
Query export to excel -
getQueryCsvExport
Get CSV export of a query. -
getQueryCsvExport
Get CSV export of a query. -
zoomIn
Zoom into a query result table. -
drillthrough
public QueryResult drillthrough(String username, String queryName, Integer maxrows, String position, String returns) Drill through on the query result set. -
getDrillthroughExport
public Response getDrillthroughExport(String username, String queryName, Integer maxrows, String position, String returns) Export the drill through to a CSV file for further analysis -
exportPdfWithChart
Export PDF with chart -
exportPdf
Export table to PDF. -
exportPdfWithFormat
Export to PDF with cellset format. -
exportPdfWithChartAndFormat
public Response exportPdfWithChartAndFormat(String username, String queryName, String format, String svg, String name) Export PDF with chart and cellset format. -
exportHtml
public Response exportHtml(String username, String queryname, String format, Boolean css, Boolean tableonly, Boolean wrapcontent) Get HTML export -
exportHtml
public Response exportHtml(String username, ThinQuery tq, String format, Boolean css, Boolean tableonly, Boolean wrapcontent) Get HTML export -
drillacross
Drill across on a result set
-