org.apache.cayenne.ejbql

## Interface EJBQLParser

- All Known Implementing Classes:
    EJBQL.EJBQLDefaultParser

      public interface EJBQLParser

  An abstract definition of EJBQL query parser. The actual parser implementing this interface is generated from JavaCC grammar.
  Since:
    3.0

- - ### Method Summary

    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`.

- - ### Method Detail

    - #### parse

          EJBQLExpression parse(String ejbqlStatement)
                                throws EJBQLException

      Parses a string EJB QL into an `EJBQLExpression`.
      Throws:
        `EJBQLException`

    - #### compile

          EJBQLCompiledExpression compile(String ejbqlStatement,
                                        EntityResolver resolver)
                                          throws EJBQLException

      Parses and compiles an expression for the EntityResolver.
      Throws:
        `EJBQLException`

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