Class ThinQueryServiceImpl
java.lang.Object
net.datenwerke.rs.saiku.service.saiku.ThinQueryServiceImpl
- All Implemented Interfaces:
Serializable,ThinQueryService
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionThinQueryServiceImpl(OlapUtilService olapUtilService, HookHandlerService hookHandler, <any> contextProvider, <any> parameterSetFactory, <any> authenticatorService) -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateTotals(ThinQuery tq, Cube cub, CellDataSet result, CellSet cellSet, ICellSetFormatter formatter) voidThinQueryconvertQuery(String xml, Cube cube, SaikuReport report) ThinQuerycreateQuery(ThinQuery tq, Cube cube) ThinQuerydrillacross(String queryName, Cube cub, SaikuReport report, List<Integer> cellPosition, Map<String, List<String>> levels) drillthrough(String queryName, SaikuReport report, int maxrows, String returns) drillthrough(String queryName, SaikuReport report, List<Integer> cellPosition, Integer maxrows, String returns) drillthrough(ThinQuery query, SaikuReport report) CellDataSetexecute(String username, ThinQuery tq, SaikuReport report, Cube cube) CellDataSetexecute(String username, ThinQuery tq, SaikuReport report, Cube cube, String formatter) CellSetexecuteInternalQuery(String username, ThinQuery query, SaikuReport report, Cube cube) CellSetexecuteInternalQuery(User user, ParameterSet parameterSet, ThinQuery query, SaikuReport report, Cube cube) byte[]byte[]exportResultSetCsv(ResultSet rs, String delimiter, String enclosing, boolean printHeader, List<<any>> additionalColumns) QueryContextgetContext(String name) byte[]byte[]CellDataSetgetFormattedResult(String query, Cube cube, String format) List<SimpleCubeElement> getResultMetadataMembers(String queryName, Cube cube, boolean preferResult, String hierarchyName, String levelName, String searchString, int searchLimit) booleanisMdxDrillthrough(ThinQuery query, SaikuReport report) booleanisOldQuery(String xml) voidsetCellSetFormatterFactory(CellSetFormatterFactory cff) toJSONString(ThinQuery query) ThinQueryupdateQuery(ThinQuery old, Cube cub, SaikuReport report) ThinQuery
-
Constructor Details
-
Method Details
-
setCellSetFormatterFactory
public void setCellSetFormatterFactory(CellSetFormatterFactory cff) -
createQuery
public ThinQuery createQuery(ThinQuery tq, Cube cube) - Specified by:
createQueryin interfaceThinQueryService
-
getContext
- Specified by:
getContextin interfaceThinQueryService
-
executeInternalQuery
public CellSet executeInternalQuery(String username, ThinQuery query, SaikuReport report, Cube cube) throws Exception - Specified by:
executeInternalQueryin interfaceThinQueryService- Throws:
Exception
-
executeInternalQuery
public CellSet executeInternalQuery(User user, ParameterSet parameterSet, ThinQuery query, SaikuReport report, Cube cube) throws Exception - Specified by:
executeInternalQueryin interfaceThinQueryService- Throws:
Exception
-
execute
- Specified by:
executein interfaceThinQueryService
-
execute
public CellDataSet execute(String username, ThinQuery tq, SaikuReport report, Cube cube, String formatter) - Specified by:
executein interfaceThinQueryService
-
getFormattedResult
- Specified by:
getFormattedResultin interfaceThinQueryService- Throws:
Exception
-
cancel
- Specified by:
cancelin interfaceThinQueryService- Throws:
SQLException
-
updateQuery
- Specified by:
updateQueryin interfaceThinQueryService
-
getExport
- Specified by:
getExportin interfaceThinQueryService
-
getExport
- Specified by:
getExportin interfaceThinQueryService
-
drillthrough
- Specified by:
drillthroughin interfaceThinQueryService
-
isMdxDrillthrough
- Specified by:
isMdxDrillthroughin interfaceThinQueryService
-
drillthrough
- Specified by:
drillthroughin interfaceThinQueryService
-
drillthrough
public ResultSet drillthrough(String queryName, SaikuReport report, List<Integer> cellPosition, Integer maxrows, String returns) - Specified by:
drillthroughin interfaceThinQueryService
-
exportResultSetCsv
- Specified by:
exportResultSetCsvin interfaceThinQueryService
-
exportResultSetCsv
public byte[] exportResultSetCsv(ResultSet rs, String delimiter, String enclosing, boolean printHeader, List<<any>> additionalColumns) - Specified by:
exportResultSetCsvin interfaceThinQueryService
-
getResultMetadataMembers
public List<SimpleCubeElement> getResultMetadataMembers(String queryName, Cube cube, boolean preferResult, String hierarchyName, String levelName, String searchString, int searchLimit) - Specified by:
getResultMetadataMembersin interfaceThinQueryService
-
calculateTotals
public void calculateTotals(ThinQuery tq, Cube cub, CellDataSet result, CellSet cellSet, ICellSetFormatter formatter) throws Exception - Specified by:
calculateTotalsin interfaceThinQueryService- Throws:
Exception
-
zoomIn
public ThinQuery zoomIn(String queryName, Cube cub, SaikuReport report, List<List<Integer>> realPositions) - Specified by:
zoomInin interfaceThinQueryService
-
drillacross
public ThinQuery drillacross(String queryName, Cube cub, SaikuReport report, List<Integer> cellPosition, Map<String, List<String>> levels) - Specified by:
drillacrossin interfaceThinQueryService
-
isOldQuery
- Specified by:
isOldQueryin interfaceThinQueryService
-
convertQuery
- Specified by:
convertQueryin interfaceThinQueryService
-
toJSONString
- Specified by:
toJSONStringin interfaceThinQueryService
-