Interface PreprocessorFactory
- All Known Implementing Classes:
DefaultPreprocessorFactory
public interface PreprocessorFactory
This interface implementation should holding relation between name of data loader type (ex: sql) and custom params preprocessor if relation not set, implementation should present default params preprocessor
ex: (query, params, consumer)-> consumer.apply(query, params)
The default implementation is io.jmix.reports.yarg.reporting.extraction.DefaultPreprocessorFactory
-
Method Summary
Modifier and TypeMethodDescriptionprocessorBy
(String loaderType) void
register
(String loaderType, QueryLoaderPreprocessor preprocessor) Method for registering query preprocessing by loader type
-
Method Details
-
register
Method for registering query preprocessing by loader type- Parameters:
loaderType
- loader type ex: sqlpreprocessor
- preprocessor implementation
-
processorBy
- Parameters:
loaderType
- loader type ex: sql- Returns:
- preprocessor instance
-