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 TypeMethodDescriptioncompile
(String ejbqlStatement, EntityResolver resolver) Parses and compiles an expression for the EntityResolver.Parses a string EJB QL into anEJBQLExpression
.
-
Method Details
-
parse
Parses a string EJB QL into anEJBQLExpression
.- Throws:
EJBQLException
-
compile
EJBQLCompiledExpression compile(String ejbqlStatement, EntityResolver resolver) throws EJBQLException Parses and compiles an expression for the EntityResolver.- Throws:
EJBQLException
-