Package io.jmix.data.impl.jpql.generator
Interface ConditionGenerator
- All Known Implementing Classes:
- DynAttrPropertyConditionGenerator,- JpqlConditionGenerator,- KeyValuePropertyConditionGenerator,- LogicalConditionGenerator,- PropertyConditionGenerator
public interface ConditionGenerator
Modifies parts of JPQL query
- 
Method SummaryModifier and TypeMethodDescriptiongenerateJoin(ConditionGenerationContext context) Returns a JPQL 'join' clause modified according to the given context.generateParameterValue(Condition condition, Object parameterValue, String entityName) Returns a parameter value modified according to the given condition.generateWhere(ConditionGenerationContext context) Returns a JPQL 'where' clause modified according to the given context.booleansupports(ConditionGenerationContext context) Checks whether the condition generator supports the givencontext.
- 
Method Details- 
supportsChecks whether the condition generator supports the givencontext.- Parameters:
- context- condition generation context
- Returns:
- true if the condition generator supports the given context, or false otherwise
 
- 
generateJoinReturns a JPQL 'join' clause modified according to the given context.- Parameters:
- context- condition generation context
- Returns:
- a JPQL 'join' clause modified according to the given context
 
- 
generateWhereReturns a JPQL 'where' clause modified according to the given context.- Parameters:
- context- condition generation context
- Returns:
- a JPQL 'where' clause modified according to the given context
 
- 
generateParameterValue@Nullable Object generateParameterValue(@Nullable Condition condition, @Nullable Object parameterValue, @Nullable String entityName) Returns a parameter value modified according to the given condition.- Parameters:
- condition- a condition
- parameterValue- parameter value
- entityName- entity name
- Returns:
- a modified parameter value
 
 
-