java.lang.Object
org.eclipse.persistence.internal.jpa.parsing.ParseTree
org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree

public class JPQLParseTree extends ParseTree
INTERNAL

Purpose: This represents an EJBQL parse tre

Responsibilities:

  • Maintain the context for the expression generation
  • Build an initial expression
  • Return a reference class for the expression
  • Maintain the root node for the query
Since:
TopLink 4.0
  • Constructor Details

    • JPQLParseTree

      public JPQLParseTree()
      EJBQLParseTree constructor comment.
  • Method Details

    • buildContext

      public GenerationContext buildContext(ReadQuery readQuery, AbstractSession session)
      INTERNAL Build the context to be used when generating the expression from the parse tree
    • populateSubquery

      public GenerationContext populateSubquery(ObjectLevelReadQuery readQuery, GenerationContext outer)
      Add all of the relevant query settings from an EJBQLParseTree to the given database query.
      Parameters:
      readQuery - The query to populate
      outer - the GenerationContext of the outer EJBQL query.
      Returns:
      the GenerationContext for the subquery
    • populateQuery

      public void populateQuery(DatabaseQuery query, AbstractSession session)
      Add all of the relevant query settings from an EJBQLParseTree to the given database query.
      Parameters:
      query - The query to populate
      session - The session to use to information such as descriptors.