| 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 | Class and Description |
|---|---|
class |
OrderByClause
The ORDER BY clause allows the objects or values that are returned by the query to be ordered.
|
class |
OrderSiblingsByClause
In a hierarchical query, if the rows of siblings of the same parent need to be ordered, then the
ORDER SIBLINGS BY clause should be used. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractContentAssistVisitor.OrderByClauseCollectionHelper.addAtTheEndOfChild(AbstractOrderByClause 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.OrderByClauseCollectionHelper.addIdentifier(AbstractOrderByClause expression,
String identifier)
Adds the given JPQL identifier as a valid proposal.
|
void |
AbstractContentAssistVisitor.OrderByClauseCollectionHelper.addTheBeginningOfChild(AbstractOrderByClause 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.OrderByClauseCollectionHelper.buildCollectionExpression(AbstractOrderByClause 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.OrderByClauseCollectionHelper.canContinue(AbstractOrderByClause 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.OrderByClauseCollectionHelper.hasDelimiterAfterIdentifier(AbstractOrderByClause expression)
Determines whether a delimiter like a whitespace or an open parenthesis was parsed after
the identifier.
|
int |
AbstractContentAssistVisitor.OrderByClauseCollectionHelper.maxCollectionSize(AbstractOrderByClause expression)
Returns the maximum number of encapsulated
expressions the Expression
allows. |
int |
AbstractContentAssistVisitor.OrderByClauseCollectionHelper.preExpressionLength(AbstractOrderByClause expression)
Returns the length of anything that can be defined before the first child.
|
JPQLQueryBNF |
AbstractContentAssistVisitor.OrderByClauseCollectionHelper.queryBNF(AbstractOrderByClause expression,
int index)
Returns the
JPQLQueryBNF that defines the fragment at the given position. |
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.