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

public class PathNode extends BaseCustomNode
  • Field Details

    • entityVariableName

      protected String entityVariableName
  • Constructor Details

    • PathNode

      public PathNode(org.antlr.runtime.Token token, String entityVariableName)
    • PathNode

      public PathNode(int type, String entityVariableName)
  • Method Details

    • getEntityVariableName

      public String getEntityVariableName()
    • dupNode

      public PathNode dupNode()
      Specified by:
      dupNode in interface org.antlr.runtime.tree.Tree
      Overrides:
      dupNode in class org.antlr.runtime.tree.CommonTree
    • createDuplicate

      protected PathNode createDuplicate()
    • resolvePointer

      public Pointer resolvePointer(DomainModel model, QueryVariableContext queryVC)
    • resolveTransitionalPointers

      public List<Pointer> resolveTransitionalPointers(DomainModel model, QueryVariableContext queryVC)
    • toString

      public String toString()
      Specified by:
      toString in interface org.antlr.runtime.tree.Tree
      Overrides:
      toString in class org.antlr.runtime.tree.CommonTree
    • treeToQueryPre

      public org.antlr.runtime.tree.CommonTree treeToQueryPre(QueryBuilder sb, List<ErrorRec> invalidNodes)
      Specified by:
      treeToQueryPre in interface TreeToQueryCapable
      Overrides:
      treeToQueryPre in class BaseCustomNode
    • asPathString

      public String asPathString()
    • asPathString

      public String asPathString(char separator)
    • renameVariableTo

      public void renameVariableTo(String newVariableName)
    • addDefaultChildren

      public void addDefaultChildren(String path)
    • addDefaultChild

      public void addDefaultChild(String field)
    • createEntityPath

      protected EntityPath createEntityPath()