Package org.apache.cayenne.ejbql.parser
Class EJBQL.EJBQLDefaultParser
java.lang.Object
org.apache.cayenne.ejbql.parser.EJBQL.EJBQLDefaultParser
- All Implemented Interfaces:
EJBQLParser
- Enclosing class:
EJBQL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncompile
(String ejbqlStatement, EntityResolver resolver) Parses and compiles an expression for the EntityResolver.Parses a string EJB QL into anEJBQLExpression
.
-
Constructor Details
-
EJBQLDefaultParser
public EJBQLDefaultParser()
-
-
Method Details
-
parse
Description copied from interface:EJBQLParser
Parses a string EJB QL into anEJBQLExpression
.- Specified by:
parse
in interfaceEJBQLParser
- Throws:
EJBQLException
-
compile
public EJBQLCompiledExpression compile(String ejbqlStatement, EntityResolver resolver) throws EJBQLException Description copied from interface:EJBQLParser
Parses and compiles an expression for the EntityResolver.- Specified by:
compile
in interfaceEJBQLParser
- Throws:
EJBQLException
-