Package io.jmix.data.impl.jpql.generator
Class ConditionJpqlGenerator
java.lang.Object
io.jmix.data.impl.jpql.generator.ConditionJpqlGenerator
Modifies JPQL query according to the tree of conditions.
See
processQuery(String, ConditionGenerationContext)
method.-
Field Summary
Modifier and TypeFieldDescriptionprotected QueryTransformerFactory
protected ConditionGeneratorResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
generateJoins
(ConditionGenerationContext context) protected String
generateWhere
(ConditionGenerationContext context) processQuery
(String query, ConditionGenerationContext context) Returns a JPQL query modified according to the given tree of conditions.
-
Field Details
-
queryTransformerFactory
-
resolver
-
-
Constructor Details
-
ConditionJpqlGenerator
public ConditionJpqlGenerator()
-
-
Method Details
-
processQuery
Returns a JPQL query modified according to the given tree of conditions.- Parameters:
query
- JPQL querycontext
- condition generation context- Returns:
- a JPQL query modified according to the given tree of conditions
-
generateJoins
-
generateWhere
-