| 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 | Field and Description |
|---|---|
IdentificationVariable |
BaseDeclarationIdentificationVariableFinder.expression
The
IdentificationVariable used to define the abstract schema name from either the
UPDATE or DELETE clause. |
protected IdentificationVariable |
AbstractSemanticValidator.ComparingEntityTypeLiteralVisitor.expression |
| Modifier and Type | Field and Description |
|---|---|
protected List<IdentificationVariable> |
AbstractSemanticValidator.usedIdentificationVariables
The
IdentificationVariables that are used throughout the query
(top-level query and subqueries), except the identification variables defining an abstract
schema name or a collection-valued path expression. |
| Modifier and Type | Method and Description |
|---|---|
protected IdentificationVariable |
AbstractSemanticValidator.findVirtualIdentificationVariable(AbstractSchemaName expression)
Returns the
IdentificationVariable that defines the identification variable for either
a DELETE or an UPDATE query. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractSemanticValidator.isComparingEntityTypeLiteral(IdentificationVariable expression)
Determines whether the given identification variable is used in a comparison expression:
"expression = LargeProject".
|
boolean |
SemanticValidatorHelper.isIdentificationVariableValidInComparison(IdentificationVariable expression)
Determines whether an identification variable can be used in a comparison expression when the
operator is either '<', '<=', '>', '>='.
|
protected boolean |
AbstractSemanticValidator.isIdentificationVariableValidInComparison(IdentificationVariable expression)
Determines whether an identification variable can be used in a comparison expression when the
operator is either '<', '<=', '>', '>='.
|
protected boolean |
AbstractSemanticValidator.validateIdentificationVariable(IdentificationVariable expression)
Validates the given
IdentificationVariable. |
protected boolean |
AbstractSemanticValidator.validateIdentificationVariable(IdentificationVariable expression,
String variable)
Validates the given identification variable.
|
void |
ParameterTypeVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
LiteralVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
BaseDeclarationIdentificationVariableFinder.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractSemanticValidator.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractSemanticValidator.ComparingEntityTypeLiteralVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractSemanticValidator.ComparisonExpressionVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractGrammarValidator.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
SemanticValidatorHelper.collectAllDeclarationIdentificationVariables(Map<String,List<IdentificationVariable>> identificationVariables)
Collects the identification variables that are defined in the
FROM clause of the
current query and from the parent queries. |
void |
SemanticValidatorHelper.collectLocalDeclarationIdentificationVariables(Map<String,List<IdentificationVariable>> identificationVariables)
Collects the identification variables that are defined in the
FROM clause of the
current query. |
| Modifier and Type | Method and Description |
|---|---|
void |
FullyQualifyPathExpressionVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
ExpressionVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AnonymousExpressionVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractExpressionVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
| Modifier and Type | Field and Description |
|---|---|
protected IdentificationVariable |
GenericSemanticValidatorHelper.IdentificationVariableVisitor.identificationVariable |
| Modifier and Type | Method and Description |
|---|---|
protected IdentificationVariable |
GenericSemanticValidatorHelper.getIdentificationVariable(Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenericSemanticValidatorHelper.addIdentificationVariable(IdentificationVariable identificationVariable,
Map<String,List<IdentificationVariable>> identificationVariables) |
boolean |
GenericSemanticValidatorHelper.isIdentificationVariableValidInComparison(IdentificationVariable expression)
Determines whether an identification variable can be used in a comparison expression when the
operator is either '<', '<=', '>', '>='.
|
protected boolean |
DefaultSemanticValidator.validateIdentificationVariable(IdentificationVariable expression,
String variable)
Validates the given identification variable.
|
void |
GenericSemanticValidatorHelper.IdentificationVariableVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
DefaultSemanticValidator.ResultVariableInOrderByVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
BasicRefactoringTool.EntityNameRenamer.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
BasicRefactoringTool.ResultVariableNameRenamer.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
BasicRefactoringTool.VariableNameRenamer.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractContentAssistVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractContentAssistVisitor.AppendableExpressionVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractContentAssistVisitor.DifferentComparisonFilter.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractContentAssistVisitor.IncompleteCollectionExpressionVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
AbstractContentAssistVisitor.SubqueryAppendableExpressionVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenericSemanticValidatorHelper.addIdentificationVariable(IdentificationVariable identificationVariable,
Map<String,List<IdentificationVariable>> identificationVariables) |
void |
GenericSemanticValidatorHelper.collectAllDeclarationIdentificationVariables(Map<String,List<IdentificationVariable>> identificationVariables)
Collects the identification variables that are defined in the
FROM clause of the
current query and from the parent queries. |
protected void |
GenericSemanticValidatorHelper.collectLocalDeclarationIdentificationVariables(JPQLQueryContext queryContext,
Map<String,List<IdentificationVariable>> identificationVariables) |
void |
GenericSemanticValidatorHelper.collectLocalDeclarationIdentificationVariables(Map<String,List<IdentificationVariable>> identificationVariables)
Collects the identification variables that are defined in the
FROM clause of the
current query. |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicStateObjectBuilder.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
BasicStateObjectBuilder.AbstractRangeDeclarationBuilder.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
BasicStateObjectBuilder.CollectionMemberDeclarationBuilder.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
BasicStateObjectBuilder.DeleteStatementBuilder.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
BasicStateObjectBuilder.UpdateStatementBuilder.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
| Modifier and Type | Method and Description |
|---|---|
IdentificationVariable |
IdentificationVariableStateObject.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 |
IdentificationVariableStateObject.setExpression(IdentificationVariable 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 | Field and Description |
|---|---|
protected IdentificationVariable |
Declaration.identificationVariable
The identification variable used to declare the "root" object.
|
| Modifier and Type | Method and Description |
|---|---|
IdentificationVariable |
Declaration.getIdentificationVariable()
Returns the
IdentificationVariable used to declare the "root" object. |
| Modifier and Type | Method and Description |
|---|---|
Map<IdentificationVariable,String> |
DeclarationResolver.getResultVariablesMap()
Returns the map of result variables that got used to define a select expression.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResolverBuilder.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
DeclarationResolver.DeclarationVisitor.visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.