Package io.jmix.data.impl.jpql.tree
Class PathNode
java.lang.Object
org.antlr.runtime.tree.BaseTree
org.antlr.runtime.tree.CommonTree
io.jmix.data.impl.jpql.tree.BaseCustomNode
io.jmix.data.impl.jpql.tree.PathNode
- All Implemented Interfaces:
TreeToQueryCapable
,org.antlr.runtime.tree.Tree
- Direct Known Subclasses:
TreatPathNode
-
Field Summary
Fields inherited from class org.antlr.runtime.tree.CommonTree
childIndex, parent, startIndex, stopIndex, token
Fields inherited from class org.antlr.runtime.tree.BaseTree
children
Fields inherited from interface org.antlr.runtime.tree.Tree
INVALID_NODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDefaultChild
(String field) void
addDefaultChildren
(String path) asPathString
(char separator) protected PathNode
protected EntityPath
dupNode()
void
renameVariableTo
(String newVariableName) resolvePointer
(DomainModel model, QueryVariableContext queryVC) resolveTransitionalPointers
(DomainModel model, QueryVariableContext queryVC) toString()
org.antlr.runtime.tree.CommonTree
treeToQueryPre
(QueryBuilder sb, List<ErrorRec> invalidNodes) Methods inherited from class io.jmix.data.impl.jpql.tree.BaseCustomNode
dupChildren, getNextNode, getPrevNode, treeToQueryPost
Methods inherited from class org.antlr.runtime.tree.CommonTree
getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries
Methods inherited from class org.antlr.runtime.tree.BaseTree
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
-
Field Details
-
entityVariableName
-
-
Constructor Details
-
PathNode
-
PathNode
-
-
Method Details
-
getEntityVariableName
-
dupNode
- Specified by:
dupNode
in interfaceorg.antlr.runtime.tree.Tree
- Overrides:
dupNode
in classorg.antlr.runtime.tree.CommonTree
-
createDuplicate
-
resolvePointer
-
resolveTransitionalPointers
-
toString
- Specified by:
toString
in interfaceorg.antlr.runtime.tree.Tree
- Overrides:
toString
in classorg.antlr.runtime.tree.CommonTree
-
treeToQueryPre
public org.antlr.runtime.tree.CommonTree treeToQueryPre(QueryBuilder sb, List<ErrorRec> invalidNodes) - Specified by:
treeToQueryPre
in interfaceTreeToQueryCapable
- Overrides:
treeToQueryPre
in classBaseCustomNode
-
asPathString
-
asPathString
-
renameVariableTo
-
addDefaultChildren
-
addDefaultChild
-
createEntityPath
-