Class DefaultPreprocessorFactory
java.lang.Object
io.jmix.reports.yarg.reporting.extraction.DefaultPreprocessorFactory
- All Implemented Interfaces:
PreprocessorFactory
Default preprocessor factory implementation
-
Field Summary
Modifier and TypeFieldDescriptionprotected QueryLoaderPreprocessor
protected Map<String,
QueryLoaderPreprocessor> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprocessorBy
(String loaderType) void
register
(String loaderType, QueryLoaderPreprocessor preprocessor) Method for registering query preprocessing by loader typevoid
setPreprocessors
(Map<String, QueryLoaderPreprocessor> preprocessors)
-
Field Details
-
defaultPreprocessor
-
preprocessorMap
-
-
Constructor Details
-
DefaultPreprocessorFactory
public DefaultPreprocessorFactory() -
DefaultPreprocessorFactory
-
-
Method Details
-
register
Description copied from interface:PreprocessorFactory
Method for registering query preprocessing by loader type- Specified by:
register
in interfacePreprocessorFactory
- Parameters:
loaderType
- loader type ex: sqlpreprocessor
- preprocessor implementation
-
processorBy
- Specified by:
processorBy
in interfacePreprocessorFactory
- Parameters:
loaderType
- loader type ex: sql- Returns:
- preprocessor instance
-
setPreprocessors
-
getPreprocessors
-