| 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.TableExpressionVisitor |
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.
|
protected static class |
AbstractGrammarValidator.AbstractCollectionValidator
This validate is responsible to validate the collection of
Expressions:
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.
|
protected static class |
AbstractGrammarValidator.CollectionExpressionVisitor
This visitor retrieves the
CollectionExpression if it is visited. |
protected static class |
AbstractGrammarValidator.CollectionSeparatedByCommaValidator
This validator validates a
CollectionExpression by making sure each item is separated
by a comma. |
protected static class |
AbstractGrammarValidator.CollectionSeparatedBySpaceValidator
This validator validates a
CollectionExpression by making sure each item is not
separated by a comma. |
protected static class |
AbstractGrammarValidator.ComparisonExpressionVisitor |
protected static class |
AbstractGrammarValidator.DateTimeVisitor |
protected static class |
AbstractGrammarValidator.NullExpressionVisitor
This visitor checks to see if the visited expression is
NullExpression. |
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.CollectionValuedPathExpressionVisitor
This visitor is meant to retrieve an
CollectionValuedPathExpression if the visited
Expression is that object. |
protected static class |
AbstractSemanticValidator.ComparingEntityTypeLiteralVisitor |
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.StateFieldPathExpressionVisitor
This visitor is meant to retrieve an
AbstractSemanticValidator.StateFieldPathExpressionVisitor if the visited
Expression is that object. |
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. |
protected static class |
AbstractValidator.NestedArrayVisitor |
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. |
protected static class |
AbstractValidator.SubqueryVisitor
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.
|
protected static class |
EclipseLinkGrammarValidator.InExpressionVisitor |
protected static class |
EclipseLinkGrammarValidator.InExpressionWithNestedArrayVisitor |
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 | Field and Description |
|---|---|
ExpressionVisitor |
AbstractValidator.BypassParentSubExpressionVisitor.visitor
The
ExpressionVisitor that will visit the Expression. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
EclipseLinkExpressionVisitor
The
ExpressionVisitor that adds support for the additional JPQL identifiers supported by
EclipseLink that is not defined in the JPA function specification. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEclipseLinkExpressionVisitor
The abstract implementation of
EclipseLinkExpressionVisitor. |
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 |
AbstractExpressionVisitor
The abstract definition of
ExpressionVisitor, which implements all the methods but does
nothing. |
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 |
AnonymousExpressionVisitor
This visitor allows a subclass to simply override
AnonymousExpressionVisitor.visit(Expression) and perform the
same task for all visited expressions. |
class |
EclipseLinkAnonymousExpressionVisitor
This visitor allows a subclass to simply override
AnonymousExpressionVisitor.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 | Method and Description |
|---|---|
protected ExpressionVisitor |
ExpressionVisitorWrapper.getDelegate()
Returns the delegate
ExpressionVisitor that is receiving all the calls from this one. |
| Modifier and Type | Method and Description |
|---|---|
void |
WhereClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
WhenClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ValueExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
UpperExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
UpdateStatement.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
UpdateItem.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
UpdateClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
UnknownExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
UnionClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
TypeExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
TrimExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
TreatExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
TableVariableDeclaration.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
TableExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SumFunction.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SubtractionExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SubstringExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SubExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
StringLiteral.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
StateFieldPathExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
StartWithClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SqrtExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SizeExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SimpleSelectStatement.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SimpleSelectClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SimpleFromClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SelectStatement.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
SelectClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ResultVariable.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
RegexpExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
RangeVariableDeclaration.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
OrderSiblingsByClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
OrderByItem.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
OrderByClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
OrExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
OnClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ObjectExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
NumericLiteral.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
NullIfExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
NullExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
NullComparisonExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
NotExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
MultiplicationExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ModExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
MinFunction.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
MaxFunction.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
LowerExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
LocateExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
LikeExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
LengthExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
KeywordExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
KeyExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
Join.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
JPQLExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
InputParameter.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
IndexExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
InExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
IdentificationVariableDeclaration.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
IdentificationVariable.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
HierarchicalQueryClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
HavingClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
GroupByClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
FunctionExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
FromClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ExtractExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
Expression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ExistsExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
EntryExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
EntityTypeLiteral.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
EmptyCollectionComparisonExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
DivisionExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
DeleteStatement.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
DeleteClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
DefaultStringExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
DateTime.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
DatabaseType.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
CountFunction.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ConstructorExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ConnectByClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ConcatExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ComparisonExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
CollectionValuedPathExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
CollectionMemberExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
CollectionMemberDeclaration.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
CollectionExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
CoalesceExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
CastExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
CaseExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
BetweenExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
BadExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
AvgFunction.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
AsOfClause.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
ArithmeticFactor.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
AndExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
AllOrAnyExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
AdditionExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
AbstractSchemaName.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
AbsExpression.accept(ExpressionVisitor visitor)
Visits this
Expression by the given visitor. |
void |
CollectionExpression.accept(int index,
ExpressionVisitor visitor)
Visits the child
Expression at the given position by the given visitor. |
void |
WhenClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
UpdateStatement.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
UpdateItem.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
UpdateClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
UnknownExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
UnionClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
TrimExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
TreatExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
TableVariableDeclaration.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
StringLiteral.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
SelectStatement.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
ResultVariable.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
RegexpExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
RangeVariableDeclaration.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
OrderByItem.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
NumericLiteral.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
NullExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
NullComparisonExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
NotExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
LikeExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
KeywordExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
Join.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
JPQLExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
InputParameter.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
InExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
IdentificationVariableDeclaration.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
IdentificationVariable.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
HierarchicalQueryClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
GroupByClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
Expression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
EntityTypeLiteral.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
EmptyCollectionComparisonExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
DeleteStatement.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
DeleteClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
DefaultStringExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
DateTime.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
ConstructorExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
ConnectByClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
CompoundExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
CollectionMemberExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
CollectionMemberDeclaration.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
CollectionExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
CaseExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
BetweenExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
BadExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AsOfClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
ArithmeticFactor.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AbstractTripleEncapsulatedExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AbstractSingleEncapsulatedExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AbstractSelectStatement.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AbstractSelectClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AbstractSchemaName.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AbstractPathExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AbstractOrderByClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AbstractFromClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AbstractDoubleEncapsulatedExpression.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
void |
AbstractConditionalClause.acceptChildren(ExpressionVisitor visitor)
Visits the children of this
Expression. |
protected boolean |
AbstractExpression.acceptUnknownVisitor(ExpressionVisitor visitor)
The given
ExpressionVisitor needs to visit this class but it is defined by a third-
party provider. |
protected void |
AbstractExpression.acceptUnknownVisitor(ExpressionVisitor visitor,
Class<?> type,
Class<?> parameterType)
The given
ExpressionVisitor needs to visit this class but it is defined by a third-
party provider. |
| Constructor and Description |
|---|
ExpressionVisitorWrapper(ExpressionVisitor delegate)
Creates a new
ExpressionVisitorWrapper. |
| 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.AcceptableTypeVisitor
This visitor retrieves the permitted type from the path expression's parent.
|
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.CollectionExpressionVisitor
This visitor retrieves the
CollectionExpression if it is visited. |
protected static class |
AbstractContentAssistVisitor.DeclarationVisitor |
protected static class |
AbstractContentAssistVisitor.DifferentComparisonFilter |
protected static class |
AbstractContentAssistVisitor.EncapsulatedExpressionVisitor |
protected static class |
AbstractContentAssistVisitor.EndingQueryPositionBuilder
This builder populates a
QueryPosition by traversing the valid portion of the JPQL
query. |
protected static class |
AbstractContentAssistVisitor.EnumVisitor
This visitor determines whether a path expression can be resolved as a fully qualified enum
type and an enum constant.
|
protected static class |
AbstractContentAssistVisitor.FollowingClausesVisitor |
protected static class |
AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor |
protected static class |
AbstractContentAssistVisitor.IncompleteCollectionExpressionVisitor
This visitor is used when a clause or a compound expression was parsed with a collection of
expressions representing an invalid fragment.
|
protected static class |
AbstractContentAssistVisitor.InvalidExpressionVisitor
This visitor determines if the visited
Expression is one of the two that represents
an invalid expression. |
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.NotExpressionVisitor |
protected static class |
AbstractContentAssistVisitor.RangeVariableDeclarationVisitor |
protected static class |
AbstractContentAssistVisitor.ResultVariableVisitor |
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.
|
protected class |
DefaultContentAssistVisitor.AcceptableTypeVisitor
The concrete instance that determines the return type of a function expression.
|
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.
|
protected class |
DefaultSemanticValidator.BooleanTypeValidator
This visitor validates expression that is a boolean literal to make sure the type is a
Boolean.
|
protected static class |
DefaultSemanticValidator.NullValueVisitor |
protected class |
DefaultSemanticValidator.NumericTypeValidator
This visitor validates expression that is a numeric literal to make sure the type is an
instance of Number.
|
protected static class |
DefaultSemanticValidator.ResultVariableInOrderByVisitor |
protected class |
DefaultSemanticValidator.StringTypeValidator
This visitor validates that the
Expression is a string primary and to make sure the
type is String. |
protected class |
DefaultSemanticValidator.TypeValidator
The basic validator for validating the type of an
Expression. |
protected static class |
DefaultSemanticValidator.UpdateClauseAbstractSchemaNameFinder |
class |
EclipseLinkContentAssistVisitor
This extension over the default content assist visitor adds the additional support EclipseLink
provides.
|
protected static class |
EclipseLinkContentAssistVisitor.AcceptableTypeVisitor |
protected static class |
EclipseLinkContentAssistVisitor.AppendableExpressionVisitor |
protected static class |
EclipseLinkContentAssistVisitor.EndingQueryPositionBuilder |
protected static class |
EclipseLinkContentAssistVisitor.FollowingClausesVisitor
This visitor adds support for the additional clauses provided by EclipseLink, such as the
|
protected class |
EclipseLinkContentAssistVisitor.IncompleteCollectionExpressionVisitor
This subclass adds support for EclipseLink specific support.
|
protected class |
EclipseLinkContentAssistVisitor.TableExpressionVisitor |
class |
EclipseLinkParameterTypeVisitor
This visitor calculates the type of an input parameter.
|
class |
EclipseLinkResolverBuilder
An implementation of a
ResolverBuilder that adds support for EclipseLink extension. |
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 static class |
GenericSemanticValidatorHelper.IdentificationVariableVisitor |
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 |
|---|---|
class |
BasicStateObjectBuilder
The default implementation of a
IBuilder, which creates a StateObject
representation of the Expression being
visited. |
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.JoinBuilder |
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. |
class |
DefaultStateObjectBuilder
The default implementation of
BasicStateObjectBuilder, which provides support for
creating a StateObject
representation of any Expression. |
class |
EclipseLinkStateObjectBuilder
The default implementation of
BasicStateObjectBuilder, which provides support based on
the JPQL grammar defined in the Java Persistence functional specification and for the additional
support provided by EclipseLink. |
| Modifier and Type | Method and Description |
|---|---|
protected ExpressionVisitor |
AbstractJPQLQueryBuilder.wrap(BasicStateObjectBuilder builder)
If a subclass needs to wrap the given
BasicStateObjectBuilder with another visitor can
do so by simply overriding this method. |
| Modifier and Type | Class and Description |
|---|---|
protected class |
DeclarationResolver.DeclarationVisitor |
protected static class |
DeclarationResolver.QualifyRangeDeclarationVisitor |
protected class |
DeclarationResolver.RootObjectExpressionVisitor
This visitor takes care to support a subquery defined as a "root" object.
|
class |
DefaultResolverBuilder
The default implementation of a
ResolverBuilder, which follows the JPA functional specification. |
protected class |
EclipseLinkDeclarationResolver.DeclarationVisitor |
protected class |
FromSubqueryResolver.VirtualMappingBuilder
This visitor will traverse the
SELECT clause and create virtual mappings
for the state field path expressions and any expression aliased with a result variable. |
class |
ResolverBuilder
This visitor creates a
Resolver that gives information about the visited Expression. |
protected static class |
ResolverBuilder.CollectionExpressionVisitor
This visitor is used to check if the expression visited is a
CollectionExpression. |
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.