Package 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

  Modifier and Type
  Method
  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 Details

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