Package org.eclipse.persistence.jpa.jpql
This package contains the Hermes features (except the parser itself): semantic and grammatical
validations, content assist support, calculating the query result type or the possible type of
an input parameter, refactoring tools.
-
Interface Summary Interface Description EclipseLinkSemanticValidatorExtension This extension provides additional support to semantic validation by adding support for non-JPA specific artifacts, such as database objects.ITypeHelper JPQLQueryDeclaration AJPQLQueryDeclaration
represents either an identification variable declaration or a collection member declaration.JPQLQueryProblem A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.JPQLQueryProblemMessages The list of messages used byJPQLQueryProblems
when validating a JPQL query.SemanticValidatorHelper This helper is used byAbstractSemanticValidator
in order to retrieve JPA information. -
Class Summary Class Description AbstractEclipseLinkParameterTypeVisitor This visitor calculates the type of an input parameter.AbstractEclipseLinkSemanticValidator This validator is responsible to gather the problems found in a JPQL query by validating the content to make sure it is semantically valid for EclipseLink.AbstractEclipseLinkSemanticValidator.EclipseLinkOwningClauseVisitor This visitor retrieves the clause owning the visitedExpression
.AbstractGrammarValidator The base validator responsible to gather the problems found in a JPQL query by validating it against the provided JPQL grammar.AbstractSemanticValidator The base validator responsible to gather the problems found in a JPQL query by validating the content to make sure it is semantically valid, i.e.AbstractValidator The abstract definition of a validator, which provides helper methods and visitors.AbstractValidator.BypassChildCollectionExpressionVisitor This visitor is responsible to traverse the children of aCollectionExpression
in order to properly validate theExpression
.AbstractValidator.BypassParentSubExpressionVisitor This visitor is responsible to traverse the parent hierarchy and to skipSubExpression
if it's a parent.AbstractValidator.ChildrenCollectorVisitor This visitor gathers the children of aCollectionExpression
or a single visitedExpression
.AbstractValidator.JPQLQueryBNFValidator This visitor validates anyExpression
by checking its BNF against some BNFs.AbstractValidator.OwningClauseVisitor This visitor retrieves the clause owning the visitedExpression
.Assert An utility class that provides various checks and when the condition fails, then anAssert.AssertException
is thrown.BaseDeclarationIdentificationVariableFinder This visitor traverses the parsed tree and retrieves theIdentificationVariable
defined in the base range variable declaration for the top-level statement if and only if the query is aDELETE
orUPDATE
query.EclipseLinkGrammarValidator This validator adds EclipseLink extension over what the JPA functional specification had defined.EclipseLinkLiteralVisitor This visitor traverses anExpression
and retrieves the "literal" value.ExpressionTools A utility class containing various methods related to the Hermes parser.JPQLQueryProblemResourceBundle The resource bundle containing the problems encountered in a JPQL query.LiteralVisitor This visitor traverses anExpression
and retrieves the "literal" value.ParameterTypeVisitor This visitor calculates the type of an input parameter.WordParser This "parser/scanner" holds onto the string version of the JPQL query that is parsed into a parsed tree. -
Enum Summary Enum Description EclipseLinkVersion An enumeration listing the various releases of EclipseLink.JPAVersion An enumeration listing the various releases of the Java Persistence specification.JPQLQueryDeclaration.Type This enum type defines the various types of declarations supported by both the JPA functional specification and EclipseLink.LiteralType SomeExpression
can have a "literal", this enumeration is used to visit anExpression
and to retrieve the right value.WordParser.WordType This enumeration determines the type of word that was scanned. -
Exception Summary Exception Description Assert.AssertException The exception thrown when the condition is not met.