Class IdentificationVariableNode

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.IdentificationVariableNode
All Implemented Interfaces:
TreeToQueryCapable, org.antlr.runtime.tree.Tree

public class IdentificationVariableNode extends BaseCustomNode
  • Constructor Details

    • IdentificationVariableNode

      public IdentificationVariableNode(int type, String variableName)
  • Method Details

    • getVariableName

      public String getVariableName()
    • identifyVariableEntity

      public void identifyVariableEntity(DomainModel model, Deque<QueryVariableContext> stack, List<ErrorRec> invalidIdVarNodes)
    • deductFields

      public void deductFields(QueryVariableContext queryVC, org.antlr.runtime.tree.CommonTree node, DomainModel model)
    • toString

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

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

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

      public String getEntityNameFromQuery()
    • getEffectiveEntityName

      @Nullable public String getEffectiveEntityName()