Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2013 Apache Cayenne. All Rights Reserved.