org.eclipse.persistence.jpa.jpql.parser
Class ExpressionRegistry

This registry contains the necessary information used by Hermes parser. When parsing a JPQL query,
the JPQLGrammar given to JPQLExpression will give access to this registry.

Provisional API: This interface is part of an interim API that is still under development and
expected to change significantly before reaching stability. It is available at this early stage
to solicit feedback from pioneering adopters on the understanding that any code that uses this
API will almost certainly be broken (repeatedly) as the API evolves.

getIdentifiers

Retrieves the JPQL identifiers that are supported by the BNF rule with the given unique
identifier. The JPQL identifiers are retrieved by scanning the ExpressionFactory
registered with the BNF rule and its child BNF rules.

setFallbackExpressionFactoryId

Sets the unique identifier of the ExpressionFactory to use when the fall back BNF
ID is not null. This will be used to parse a portion of the query when the
registered expression factories cannot parse it.