| Package | Description |
|---|---|
| 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.
|
| org.eclipse.persistence.jpa.jpql.parser |
This is the core of Hermes, this package contains the classes that can parse a JPQL query.
|
| org.eclipse.persistence.jpa.jpql.tools | |
| org.eclipse.persistence.jpa.jpql.tools.model |
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.
|
| org.eclipse.persistence.jpa.jpql.tools.resolver |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEclipseLinkParameterTypeVisitor
This visitor calculates the type of an input parameter.
|
class |
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.
|
static class |
AbstractEclipseLinkSemanticValidator.EclipseLinkOwningClauseVisitor
This visitor retrieves the clause owning the visited
Expression. |
protected static class |
AbstractEclipseLinkSemanticValidator.SubquerySelectItemCalculator |
protected static class |
AbstractEclipseLinkSemanticValidator.TopLevelFirstDeclarationVisitor |
class |
AbstractGrammarValidator
The base validator responsible to gather the problems found in a JPQL query by validating it
against the provided JPQL grammar.
|
class |
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.
|
protected static class |
AbstractSemanticValidator.ComparisonExpressionVisitor
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.
|
protected static class |
AbstractSemanticValidator.FirstDeclarationVisitor |
protected static class |
AbstractSemanticValidator.InItemsVisitor |
protected static class |
AbstractSemanticValidator.SubqueryFirstDeclarationVisitor |
protected static class |
AbstractSemanticValidator.TopLevelFirstDeclarationVisitor |
class |
AbstractValidator
The abstract definition of a validator, which provides helper methods and visitors.
|
static class |
AbstractValidator.BypassChildCollectionExpressionVisitor
This visitor is responsible to traverse the children of a
CollectionExpression in
order to properly validate the Expression. |
static class |
AbstractValidator.BypassParentSubExpressionVisitor
This visitor is responsible to traverse the parent hierarchy and to skip
SubExpression
if it's a parent. |
static class |
AbstractValidator.ChildrenCollectorVisitor
This visitor gathers the children of a
CollectionExpression or a single visited
Expression. |
static class |
AbstractValidator.JPQLQueryBNFValidator
This visitor validates any
Expression by checking its BNF against some BNFs. |
static class |
AbstractValidator.OwningClauseVisitor
This visitor retrieves the clause owning the visited
Expression. |
protected static class |
AbstractValidator.OwningStatementVisitor
This visitor retrieves the statement owning the visited
Expression. |
class |
BaseDeclarationIdentificationVariableFinder
This visitor traverses the parsed tree and retrieves the
IdentificationVariable
defined in the base range variable declaration for the top-level statement if and only if the
query is a DELETE or UPDATE query. |
class |
EclipseLinkGrammarValidator
This validator adds EclipseLink extension over what the JPA functional specification had defined.
|
class |
EclipseLinkLiteralVisitor
This visitor traverses an
Expression
and retrieves the "literal" value. |
class |
LiteralVisitor
This visitor traverses an
Expression
and retrieves the "literal" value. |
class |
ParameterTypeVisitor
This visitor calculates the type of an input parameter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEclipseLinkTraverseChildrenVisitor
This
ExpressionVisitor traverses the entire hierarchy of the JPQL parsed tree by going
down into each of the children of any given Expression. |
class |
AbstractEclipseLinkTraverseParentVisitor
This
EclipseLinkExpressionVisitor traverses up the hierarchy. |
class |
AbstractTraverseChildrenVisitor
This
ExpressionVisitor traverses the entire hierarchy of the JPQL parsed tree by going
down into each of the children of any given Expression. |
class |
AbstractTraverseParentVisitor
This
ExpressionVisitor traverses up the hierarchy. |
class |
EclipseLinkAnonymousExpressionVisitor
This visitor allows a subclass to simply override
visit(Expression) and perform the
same task for all visited expressions including those defined by EclipseLink. |
class |
ExpressionVisitorWrapper
This
ExpressionVisitor wraps another ExpressionVisitor and delegates all its
calls to it (the delegate). |
class |
FullyQualifyPathExpressionVisitor
This visitor makes sure that all path expressions are fully qualified with a "virtual"
identification variable if the range variable declaration does not define one.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractContentAssistVisitor
The visitor provides support for finding the possible proposals within a JPQL query at a certain
position.
|
protected static class |
AbstractContentAssistVisitor.AbstractAppendableExpressionVisitor |
protected static class |
AbstractContentAssistVisitor.AppendableExpressionVisitor
This visitor scans the visited
Expression and determines if a JPQL identifier can be
added ("appended") when the position of the cursor is at the end of the expression. |
protected static class |
AbstractContentAssistVisitor.DeclarationVisitor |
protected static class |
AbstractContentAssistVisitor.DifferentComparisonFilter |
protected static class |
AbstractContentAssistVisitor.EncapsulatedExpressionVisitor |
protected static class |
AbstractContentAssistVisitor.FollowingClausesVisitor |
protected static class |
AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor |
protected static class |
AbstractContentAssistVisitor.MappingFilterBuilder
This visitor is responsible to create the right
Filter based on the type of the Expression. |
protected static class |
AbstractContentAssistVisitor.SubqueryAppendableExpressionVisitor |
protected static class |
AbstractContentAssistVisitor.SubqueryVisitor
This visitor determines if an
Expression is in a subquery. |
protected static class |
AbstractContentAssistVisitor.VisitParentVisitor
This visitor is meant to adjust the corrections stack when traversing an
Expression in
order to increase the list of valid proposals. |
protected static class |
AbstractContentAssistVisitor.WithinInvalidExpressionVisitor |
protected class |
BasicRefactoringTool.AbstractRenamer
The abstract class that all refactoring classes should extend, it automatically provides the
MultiTextEdit
that will hold the
TextEdit objects that are related to the same refactoring event. |
protected class |
BasicRefactoringTool.AttributeNameRenamer
This visitor renames any segment of a path expression.
|
protected class |
BasicRefactoringTool.ClassNameRenamer
This visitor renames a fully qualified class name.
|
protected class |
BasicRefactoringTool.EntityNameRenamer
This visitor renames an entity name.
|
protected class |
BasicRefactoringTool.EnumConstantRenamer
This visitor renames an enum constant.
|
protected class |
BasicRefactoringTool.ResultVariableNameRenamer
This visitor renames all the result variables found in the JPQL query.
|
protected class |
BasicRefactoringTool.VariableNameRenamer
This visitor renames all the identification variables found in the JPQL query.
|
class |
DefaultContentAssistVisitor
This visitor traverses the JPQL parsed tree and gathers the possible proposals at a given position.
|
class |
DefaultGrammarValidator
This validator is responsible to validate a JPQL query grammatically purely based on the JPA
specification document.
|
class |
DefaultLiteralVisitor
This visitor traverses an
Expression
and retrieves the "literal" value. |
class |
DefaultParameterTypeVisitor
This visitor calculates the type of an input parameter.
|
class |
DefaultSemanticValidator
This validator is responsible to gather the problems found in a JPQL query by validating the
content to make sure it is semantically valid.
|
class |
EclipseLinkContentAssistVisitor
This extension over the default content assist visitor adds the additional support EclipseLink
provides.
|
protected static class |
EclipseLinkContentAssistVisitor.AppendableExpressionVisitor |
protected static class |
EclipseLinkContentAssistVisitor.FollowingClausesVisitor
This visitor adds support for the additional clauses provided by EclipseLink, such as the
|
class |
EclipseLinkParameterTypeVisitor
This visitor calculates the type of an input parameter.
|
class |
EclipseLinkSemanticValidator
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.
|
protected class |
JPQLQueryContext.InputParameterVisitor
This visitor is responsible to find the
InputParameters with a certain
parameter name. |
protected static class |
JPQLQueryContext.QueryExpressionVisitor
This visitor is responsible to retrieve the
Expression that is the beginning of a
query. |
| Modifier and Type | Class and Description |
|---|---|
protected class |
BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<S extends AbstractFromClauseStateObject>
This builder is responsible to create a new identification variable declaration and to add it
to the state object representing the
FROM clause. |
protected class |
BasicStateObjectBuilder.AbstractSelectStatementBuilder<T extends AbstractSelectStatementStateObject,P extends StateObject>
The abstract definition of the builder that is responsible to create the
StateObject
representation of the SELECT statement. |
protected static class |
BasicStateObjectBuilder.CollectionExpressionVisitor |
protected static class |
BasicStateObjectBuilder.CollectionMemberDeclarationBuilder |
protected class |
BasicStateObjectBuilder.DeleteStatementBuilder
This builder is responsible to create the
StateObject representation of the
DELETE query statement. |
protected class |
BasicStateObjectBuilder.RangeDeclarationBuilder
This builder is responsible to create a new identification variable declaration and to add it
to the state object representing the
FROM clause of the top-level query. |
protected class |
BasicStateObjectBuilder.SelectItemBuilder
This builder is responsible to create the items owned by the top-level
SELECT clause. |
protected class |
BasicStateObjectBuilder.SelectStatementBuilder
This builder is responsible to create the
StateObject representation of the
SELECT query statement. |
protected class |
BasicStateObjectBuilder.SimpleRangeDeclarationBuilder
This builder is responsible to create a new identification variable declaration and to add it
to the state object representing the
FROM clause of a subquery. |
protected class |
BasicStateObjectBuilder.SimpleSelectStatementBuilder
This builder is responsible to create the
StateObject representation of the
SELECT subquery. |
protected class |
BasicStateObjectBuilder.UpdateStatementBuilder
This builder is responsible to create the
StateObject representation of the
UPDATE query statement. |
protected class |
BasicStateObjectBuilder.WhenClauseBuilder
This builder is responsible to create the
WHEN clauses for a
CASE expression. |
| Modifier and Type | Class and Description |
|---|---|
protected class |
DeclarationResolver.RootObjectExpressionVisitor
This visitor takes care to support a subquery defined as a "root" object.
|
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.