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 AJPQLQueryDeclarationrepresents 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 byJPQLQueryProblemswhen validating a JPQL query.SemanticValidatorHelper This helper is used byAbstractSemanticValidatorin 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 aCollectionExpressionin order to properly validate theExpression.AbstractValidator.BypassParentSubExpressionVisitor This visitor is responsible to traverse the parent hierarchy and to skipSubExpressionif it's a parent.AbstractValidator.ChildrenCollectorVisitor This visitor gathers the children of aCollectionExpressionor a single visitedExpression.AbstractValidator.JPQLQueryBNFValidator This visitor validates anyExpressionby 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.AssertExceptionis thrown.BaseDeclarationIdentificationVariableFinder This visitor traverses the parsed tree and retrieves theIdentificationVariabledefined in the base range variable declaration for the top-level statement if and only if the query is aDELETEorUPDATEquery.EclipseLinkGrammarValidator This validator adds EclipseLink extension over what the JPA functional specification had defined.EclipseLinkLiteralVisitor This visitor traverses anExpressionand 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 anExpressionand 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 SomeExpressioncan have a "literal", this enumeration is used to visit anExpressionand 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.