EJBQLParser (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.ejbql, interface: EJBQLParser

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