Package io.jmix.data.impl.jpql
Class QueryTreeAnalyzer
java.lang.Object
io.jmix.data.impl.jpql.QueryTreeAnalyzer
-
Field Summary
Fields -
Constructor Summary
Constructors -
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) 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
-
isQueryWithJoins
public boolean isQueryWithJoins() -
isConditionForEntityProperty
public boolean isConditionForEntityProperty(SimpleConditionNode condition, String variableName, String property) -
isConditionForParameter
-
isConditionIN
-
isConditionISNULL
-
isConditionISNOTNULL
-
isVariablePathNode
-
generateChildrenByClass
-