Uses of Package
org.eclipse.persistence.jpa.jpql
Package
Description
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.
This is the core of Hermes, this package contains the classes that can parse a JPQL query.
The classes defined in this package define the state model API, a state model can be used to
manually or programmatically create and edit a JPQL query.
-
ClassDescriptionThis visitor retrieves the clause owning the visited
Expression
.The base validator responsible to gather the problems found in a JPQL query by validating it against the provided JPQL grammar.This validate is responsible to validate the collection ofExpressions
: Making sure they are all separated by a comma or by a space (depending on which one is required); Making sure it does not end with a comma; There is no empty expression between two commas.The root helper that validates anyAbstractEncapsulatedExpression
.The abstract implementation ofAbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper
which implements some of the methods since the behavior is the same for all subclasses ofAbstractSingleEncapsulatedExpression
.This visitor retrieves theCollectionExpression
if it is visited.This validator validates aCollectionExpression
by making sure each item is separated by a comma.This validator validates aCollectionExpression
by making sure each item is not separated by a comma.This visitor checks to see if the visited expression isNullExpression
.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.This visitor is meant to retrieve anCollectionValuedPathExpression
if the visitedExpression
is that object.This visitor compares the left and right expressions of a comparison expression and gathers information about those expressions if they are an identification variable or a path expression.This enumeration allowsAbstractSemanticValidator.validateStateFieldPathExpression(StateFieldPathExpression, PathType)
to validate the type of the mapping and to make sure it is allowed based on its location.This visitor is meant to retrieve anAbstractSemanticValidator.StateFieldPathExpressionVisitor
if the visitedExpression
is that object.The abstract definition of a validator, which provides helper methods and visitors.This visitor is responsible to traverse the children of aCollectionExpression
in order to properly validate theExpression
.This visitor is responsible to traverse the parent hierarchy and to skipSubExpression
if it's a parent.This visitor gathers the children of aCollectionExpression
or a single visitedExpression
.This visitor validates anyExpression
by checking its BNF against some BNFs.This visitor retrieves the clause owning the visitedExpression
.This visitor retrieves the statement owning the visitedExpression
.This visitor retrieves the statement owning the visitedExpression
.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.This validator adds EclipseLink extension over what the JPA functional specification had defined.This extension provides additional support to semantic validation by adding support for non-JPA specific artifacts, such as database objects.An enumeration listing the various releases of EclipseLink.An enumeration listing the various releases of the Java Persistence specification.AJPQLQueryDeclaration
represents either an identification variable declaration or a collection member declaration.This enum type defines the various types of declarations supported by both the JPA functional specification and EclipseLink.A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.SomeExpression
can have a "literal", this enumeration is used to visit anExpression
and to retrieve the right value.This visitor traverses anExpression
and retrieves the "literal" value.This visitor calculates the type of an input parameter.This helper is used byAbstractSemanticValidator
in order to retrieve JPA information.This "parser/scanner" holds onto the string version of the JPQL query that is parsed into a parsed tree.This enumeration determines the type of word that was scanned. -
ClassDescriptionAn enumeration listing the various releases of EclipseLink.An enumeration listing the various releases of the Java Persistence specification.This "parser/scanner" holds onto the string version of the JPQL query that is parsed into a parsed tree.
-
ClassDescriptionThis visitor calculates the type of an input parameter.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.The base validator responsible to gather the problems found in a JPQL query by validating it against the provided JPQL grammar.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.This enumeration allows
AbstractSemanticValidator.validateStateFieldPathExpression(StateFieldPathExpression, PathType)
to validate the type of the mapping and to make sure it is allowed based on its location.The abstract definition of a validator, which provides helper methods and visitors.This visitor validates anyExpression
by checking its BNF against some BNFs.This visitor retrieves the clause owning the visitedExpression
.This validator adds EclipseLink extension over what the JPA functional specification had defined.This extension provides additional support to semantic validation by adding support for non-JPA specific artifacts, such as database objects.An enumeration listing the various releases of EclipseLink.An enumeration listing the various releases of the Java Persistence specification.AJPQLQueryDeclaration
represents either an identification variable declaration or a collection member declaration.A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.SomeExpression
can have a "literal", this enumeration is used to visit anExpression
and to retrieve the right value.This visitor traverses anExpression
and retrieves the "literal" value.This visitor calculates the type of an input parameter.This helper is used byAbstractSemanticValidator
in order to retrieve JPA information.This "parser/scanner" holds onto the string version of the JPQL query that is parsed into a parsed tree. -
ClassDescriptionSome
Expression
can have a "literal", this enumeration is used to visit anExpression
and to retrieve the right value.This visitor traverses anExpression
and retrieves the "literal" value. -
ClassDescriptionA
JPQLQueryDeclaration
represents either an identification variable declaration or a collection member declaration.This enum type defines the various types of declarations supported by both the JPA functional specification and EclipseLink.