| 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.model.query |
This package contains the
StateObject classes that represents a JPQL query. |
| org.eclipse.persistence.jpa.jpql.tools.resolver |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSemanticValidator.validateIdentificationVariableDeclaration(IdentificationVariableDeclaration expression)
Validates the given
InExpression. |
protected void |
AbstractGrammarValidator.validateIdentificationVariableDeclaration(IdentificationVariableDeclaration expression) |
protected void |
AbstractGrammarValidator.validateJoins(IdentificationVariableDeclaration expression) |
void |
BaseDeclarationIdentificationVariableFinder.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
AbstractSemanticValidator.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
AbstractSemanticValidator.FirstDeclarationVisitor.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
AbstractGrammarValidator.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
ExpressionVisitor.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
AnonymousExpressionVisitor.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
AbstractExpressionVisitor.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractContentAssistVisitor.JoinCollectionHelper.addAtTheEndOfChild(IdentificationVariableDeclaration expression,
CollectionExpression collectionExpression,
int index,
boolean hasComma,
boolean virtualSpace)
Adds the proposals because the cursor is at the end of the child at the given position.
|
void |
AbstractContentAssistVisitor.JoinCollectionHelper.addIdentifier(IdentificationVariableDeclaration expression,
String identifier)
Adds the given JPQL identifier as a valid proposal.
|
void |
AbstractContentAssistVisitor.JoinCollectionHelper.addTheBeginningOfChild(IdentificationVariableDeclaration expression,
CollectionExpression collectionExpression,
int index,
boolean hasComma)
Adds the proposals because the cursor is at the beginning of the child
Expression
at the given position. |
CollectionExpression |
AbstractContentAssistVisitor.JoinCollectionHelper.buildCollectionExpression(IdentificationVariableDeclaration expression)
Either returns the given
Expression's child, which is already a CollectionExpression
or requests this helper to return a "virtual" CollectionExpression that is wrapping
the single element. |
boolean |
AbstractContentAssistVisitor.JoinCollectionHelper.canContinue(IdentificationVariableDeclaration expression,
CollectionExpression collectionExpression,
int index)
Asks this helper if the search can continue even though two child expressions are not
separated by a comma.
|
boolean |
AbstractContentAssistVisitor.JoinCollectionHelper.hasDelimiterAfterIdentifier(IdentificationVariableDeclaration expression)
Determines whether a delimiter like a whitespace or an open parenthesis was parsed after
the identifier.
|
int |
AbstractContentAssistVisitor.JoinCollectionHelper.maxCollectionSize(IdentificationVariableDeclaration expression)
Returns the maximum number of encapsulated
expressions the Expression
allows. |
int |
AbstractContentAssistVisitor.JoinCollectionHelper.preExpressionLength(IdentificationVariableDeclaration expression)
Returns the length of anything that can be defined before the first child.
|
JPQLQueryBNF |
AbstractContentAssistVisitor.JoinCollectionHelper.queryBNF(IdentificationVariableDeclaration expression,
int index)
Returns the
JPQLQueryBNF that defines the fragment at the given position. |
void |
AbstractContentAssistVisitor.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
AbstractContentAssistVisitor.AppendableExpressionVisitor.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
AbstractContentAssistVisitor.IncompleteCollectionExpressionVisitor.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
| Modifier and Type | Method and Description |
|---|---|
IdentificationVariableDeclaration |
AbstractIdentificationVariableDeclarationStateObject.getExpression()
Returns the actual parsed object if this
StateObject representation of the JPQL query
was created by parsing an existing JPQL query. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractIdentificationVariableDeclarationStateObject.setExpression(IdentificationVariableDeclaration expression)
Keeps a reference of the
parsed object object, which
should only be done when this object is instantiated during the conversion of a parsed JPQL
query into StateObjects. |
| Modifier and Type | Method and Description |
|---|---|
void |
ResolverBuilder.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
DeclarationResolver.DeclarationVisitor.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
DeclarationResolver.QualifyRangeDeclarationVisitor.visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.