| 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 |
AbstractGrammarValidator.validateInputParameters(JPQLExpression expression) |
void |
BaseDeclarationIdentificationVariableFinder.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
void |
AbstractSemanticValidator.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
void |
AbstractGrammarValidator.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
| Modifier and Type | Method and Description |
|---|---|
JPQLExpression |
Expression.getRoot()
Retrieves the root node of the parsed tree hierarchy.
|
JPQLExpression |
AbstractExpression.getRoot()
Retrieves the root node of the parsed tree hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExpressionVisitor.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
void |
AnonymousExpressionVisitor.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
void |
AbstractTraverseParentVisitor.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
void |
AbstractExpressionVisitor.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
| Modifier and Type | Method and Description |
|---|---|
JPQLExpression |
BasicRefactoringTool.getExpression()
Returns the parsed tree representation of the JPQL query.
|
JPQLExpression |
JPQLQueryContext.getJPQLExpression()
Returns the parsed tree representation of the JPQL query.
|
JPQLExpression |
AbstractJPQLQueryHelper.getJPQLExpression()
Returns the root of the parsed tree representation of the JPQL query.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JPQLQueryContext.setJPQLExpression(JPQLExpression jpqlExpression)
Sets the parsed tree representation of the JPQL query.
|
void |
AbstractJPQLQueryHelper.setJPQLExpression(JPQLExpression jpqlExpression)
Sets the parsed tree representation of the JPQL query.
|
void |
JPQLQueryContext.QueryExpressionVisitor.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
void |
AbstractContentAssistVisitor.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
void |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
void |
AbstractContentAssistVisitor.MappingFilterBuilder.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
| Modifier and Type | Method and Description |
|---|---|
protected JPQLExpression |
AbstractJPQLQueryBuilder.parse(CharSequence jpqlQuery,
JPQLGrammar jpqlGrammar,
boolean tolerant)
Parses the given JPQL query with tolerant mode turned on.
|
protected JPQLExpression |
AbstractJPQLQueryBuilder.parse(CharSequence jpqFragment,
JPQLGrammar jpqlGrammar,
String queryBNFId)
Parses the given JPQL fragment with tolerant mode turned on.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicStateObjectBuilder.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
| Modifier and Type | Method and Description |
|---|---|
JPQLExpression |
JPQLQueryStateObject.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 |
JPQLQueryStateObject.setExpression(JPQLExpression 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(JPQLExpression expression)
Visits the
JPQLExpression expression. |
void |
DeclarationResolver.DeclarationVisitor.visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.