Class JPQLSingleStringParser.Compiler

java.lang.Object
org.datanucleus.store.query.JPQLSingleStringParser.Compiler
Enclosing class:
JPQLSingleStringParser

private class JPQLSingleStringParser.Compiler extends Object
Compiler to process keywords contents. In the query the keywords often have content values following them that represent the constituent parts of the query. This takes the keyword and sets the constituent part accordingly.
  • Field Details

  • Constructor Details

  • Method Details

    • compile

      private void compile()
    • compileQuery

      private void compileQuery()
    • compileResult

      private void compileResult()
    • compileUpdate

      private void compileUpdate()
    • compileFrom

      private void compileFrom()
    • compileWhere

      private void compileWhere()
    • compileGroup

      private void compileGroup()
    • compileHaving

      private void compileHaving()
    • compileOrder

      private void compileOrder()
    • compileRange

      private void compileRange()
    • processContentWithSubqueries

      private String processContentWithSubqueries(String content)
      Method to extract the required clause, splitting out any subqueries and replacing by variables (adding subqueries to the underlying query), returning the clause to use.
      Parameters:
      content - The input string
      Returns:
      Content with subqueries substituted