Package io.jmix.data.impl.jpql
Class QueryTreeAnalyzer
java.lang.Object
io.jmix.data.impl.jpql.QueryTreeAnalyzer
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected <T> Stream<T>generateChildrenByClass(org.antlr.runtime.tree.CommonTree commonTree, Class<T> clazz) getMainEntityName(IdentificationVariableNode identificationVariable) getMainEntityVariable(IdentificationVariableNode identificationVariable) getMainSelectedEntityName(PathNode pathNode) getMainSelectedEntityVariable(PathNode pathNode) booleanisConditionForEntityProperty(SimpleConditionNode condition, String variableName, String property) booleanisConditionForParameter(SimpleConditionNode condition, String parameterName) booleanisConditionIN(SimpleConditionNode condition) booleanisConditionISNOTNULL(SimpleConditionNode condition) booleanisConditionISNULL(SimpleConditionNode condition) booleanbooleanisVariablePathNode(PathNode pathNode) 
- 
Field Details- 
queryTree
 
- 
- 
Constructor Details- 
QueryTreeAnalyzer
 
- 
- 
Method Details- 
getMainEntityName
- 
getMainEntityVariable
- 
getMainIdentificationVariableNode
- 
getMainSelectedEntityName
- 
getMainSelectedEntityVariable
- 
getMainSelectedPathNode
- 
getParamNames
- 
getEntityNames
- 
getConditions
- 
isQueryWithJoinspublic boolean isQueryWithJoins()
- 
isConditionForEntityPropertypublic boolean isConditionForEntityProperty(SimpleConditionNode condition, String variableName, String property) 
- 
isConditionForParameter
- 
isConditionIN
- 
isConditionISNULL
- 
isConditionISNOTNULL
- 
isVariablePathNode
- 
generateChildrenByClass
 
-