Package io.jmix.data.impl.jpql.generator
Class ParameterJpqlGenerator
java.lang.Object
io.jmix.data.impl.jpql.generator.ParameterJpqlGenerator
Modifies JPQL query parameters according to the tree of conditions.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<JpqlCondition>
collectNestedJpqlConditions
(Condition rootCondition) protected List<PropertyCondition>
collectNestedPropertyConditions
(Condition rootCondition) protected Object
generateParameterValue
(Condition condition, Object parameterValue, String entityName) processParameters
(Map<String, Object> parameters, Map<String, Object> queryParameters, Condition actualized, String entityName) Returns parameters for JPQL query modified according to the given tree of conditions.
-
Field Details
-
resolver
-
-
Constructor Details
-
ParameterJpqlGenerator
-
-
Method Details
-
processParameters
public Map<String,Object> processParameters(Map<String, Object> parameters, Map<String, Object> queryParameters, Condition actualized, @Nullable String entityName) Returns parameters for JPQL query modified according to the given tree of conditions.- Parameters:
parameters
- result parametersqueryParameters
- query parametersactualized
- an actualized condition- Returns:
- modified parameters
-
collectNestedPropertyConditions
-
collectNestedJpqlConditions
-
generateParameterValue
-