| Package | Description |
|---|---|
| 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 |
| Modifier and Type | Method and Description |
|---|---|
QueryPosition |
JPQLExpression.buildPosition(String actualQuery,
int position)
Creates a map of the position of the cursor within each
Expression of the parsed tree. |
| Modifier and Type | Method and Description |
|---|---|
void |
Expression.populatePosition(QueryPosition queryPosition,
int position)
Retrieves the
Expression located at the given position using the actual query,
which may have extra whitespace. |
void |
DefaultStringExpression.populatePosition(QueryPosition queryPosition,
int position)
Retrieves the
Expression located at the given position using the actual query,
which may have extra whitespace. |
void |
AbstractExpression.populatePosition(QueryPosition queryPosition,
int position)
Retrieves the
Expression located at the given position using the actual query,
which may have extra whitespace. |
| Modifier and Type | Field and Description |
|---|---|
protected QueryPosition |
AbstractContentAssistVisitor.queryPosition
Contains the position of the cursor within the parsed
Expression from the root node
up to the deepest leaf node. |
QueryPosition |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.queryPosition
This
QueryPosition has the position of each Expression within the valid
fragment of the JPQL query. |
| Modifier and Type | Method and Description |
|---|---|
protected QueryPosition |
AbstractContentAssistVisitor.buildEndingPositionFromInvalidExpression(Expression invalidExpression,
Expression startingPointExpression,
boolean[] virtualSpace)
Creates a new
QueryPosition containing the corrected positions starting at the given
Expression and traversing the children at is always at the right side of the tree. |
QueryPosition |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.getQueryPosition()
Returns the new
QueryPosition that was created. |
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.