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

public static class EJBQL.EJBQLDefaultParser extends Object implements EJBQLParser

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EJBQLDefaultParser()`

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

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EJBQLDefaultParser

    public EJBQLDefaultParser()

- ## Method Details

  - ### parse

    public EJBQLExpression parse(String ejbqlStatement) throws EJBQLException
    Description copied from interface: `EJBQLParser`
    Parses a string EJB QL into an `EJBQLExpression`.
    Specified by:
      `parse` in interface `EJBQLParser`
    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 interface `EJBQLParser`
    Throws:
      `EJBQLException`