Package io.jmix.data.impl.jpql
Class QueryTreeAnalyzer
java.lang.Object
io.jmix.data.impl.jpql.QueryTreeAnalyzer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier 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) boolean
isConditionForEntityProperty
(SimpleConditionNode condition, String variableName, String property) boolean
isConditionForParameter
(SimpleConditionNode condition, String parameterName) boolean
isConditionIN
(SimpleConditionNode condition) boolean
isConditionISNOTNULL
(SimpleConditionNode condition) boolean
isConditionISNULL
(SimpleConditionNode condition) boolean
boolean
isVariablePathNode
(PathNode pathNode)
-
Field Details
-
queryTree
-
-
Constructor Details
-
QueryTreeAnalyzer
-
-
Method Details
-
getMainEntityName
-
getMainEntityVariable
-
getMainIdentificationVariableNode
-
getMainSelectedEntityName
-
getMainSelectedEntityVariable
-
getMainSelectedPathNode
-
getParamNames
-
getEntityNames
-
getConditions
-
isQueryWithJoins
public boolean isQueryWithJoins() -
isConditionForEntityProperty
public boolean isConditionForEntityProperty(SimpleConditionNode condition, String variableName, String property) -
isConditionForParameter
-
isConditionIN
-
isConditionISNULL
-
isConditionISNOTNULL
-
isVariablePathNode
-
generateChildrenByClass
-