Class SqlCrosstabPreprocessor
java.lang.Object
io.jmix.reports.yarg.reporting.extraction.preprocessor.SqlCrosstabPreprocessor
- All Implemented Interfaces:
QueryLoaderPreprocessor
SQL (and JPQL also) implementation of params preprocessor
Preprocessor searches params in sql fragment and preparing them for
data linking between query bands, that contains data for vertical and horizontal band distribution.
Another function is wrapping query object to inject processed query without breaking reportQuery immutability
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpreprocess
(ReportQuery reportQuery, Map<String, Object> params, BiFunction<ReportQuery, Map<String, Object>, List<Map<String, Object>>> after)
-
Constructor Details
-
SqlCrosstabPreprocessor
public SqlCrosstabPreprocessor()
-
-
Method Details
-
preprocess
public List<Map<String,Object>> preprocess(ReportQuery reportQuery, Map<String, Object> params, BiFunction<ReportQuery, Map<String, Object>, List<Map<String, Object>>> after) - Specified by:
preprocess
in interfaceQueryLoaderPreprocessor
-