org.apache.cayenne.ejbql.parser

## Class EJBQL.EJBQLDefaultParser

- java.lang.Object
- - org.apache.cayenne.ejbql.parser.EJBQL.EJBQLDefaultParser

- All Implemented Interfaces:
    EJBQLParser
  Enclosing class:
    EJBQL

      public static class EJBQL.EJBQLDefaultParser
      extends Object
      implements EJBQLParser

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EJBQLDefaultParser()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EJBQLCompiledExpression` | `compile(String ejbqlStatement, EntityResolver resolver)` Parses and compiles an expression for the EntityResolver.
    `EJBQLExpression` | `parse(String ejbqlStatement)` Parses a string EJB QL into an `EJBQLExpression`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EJBQLDefaultParser

          public EJBQLDefaultParser()

  - ### Method Detail

    - #### parse

          public EJBQLExpression parse(String ejbqlStatement)
                                throws EJBQLException

      Description copied from interface: `EJBQLParser`
      Parses a string EJB QL into an `EJBQLExpression`.
      Specified by:
        `parse` in interface `EJBQLParser`
      Throws:
        `EJBQLException`

    - #### compile

          public EJBQLCompiledExpression compile(String ejbqlStatement,
                                                 EntityResolver resolver)
                                          throws EJBQLException

      Description copied from interface: `EJBQLParser`
      Parses and compiles an expression for the EntityResolver.
      Specified by:
        `compile` in interface `EJBQLParser`
      Throws:
        `EJBQLException`

Copyright © 2001–2018 Apache Cayenne. All rights reserved.