Class JPQLSingleStringParser.Compiler

  • Enclosing class:
    JPQLSingleStringParser

    private class JPQLSingleStringParser.Compiler
    extends java.lang.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.
    • Method Detail

      • 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 java.lang.String processContentWithSubqueries​(java.lang.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