| 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.query |
This package contains the
StateObject classes that represents a JPQL query. |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<T extends AbstractTripleEncapsulatedExpression> |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends AbstractTripleEncapsulatedExpression> |
AbstractGrammarValidator.validateAbstractTripleEncapsulatedExpression(T expression,
AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<T> helper) |
| Modifier and Type | Class and Description |
|---|---|
class |
LocateExpression
The LOCATE function returns the position of a given string within a string, starting the
search at a specified position.
|
class |
SubstringExpression
The second and third arguments of the SUBSTRING function denote the starting position and
length of the substring to be returned.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractContentAssistVisitor.TripleEncapsulatedCollectionHelper.addAtTheEndOfChild(AbstractTripleEncapsulatedExpression 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.TripleEncapsulatedCollectionHelper.addIdentifier(AbstractTripleEncapsulatedExpression expression,
String identifier)
Adds the given JPQL identifier as a valid proposal.
|
void |
AbstractContentAssistVisitor.TripleEncapsulatedCollectionHelper.addTheBeginningOfChild(AbstractTripleEncapsulatedExpression 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.TripleEncapsulatedCollectionHelper.buildCollectionExpression(AbstractTripleEncapsulatedExpression 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.TripleEncapsulatedCollectionHelper.canContinue(AbstractTripleEncapsulatedExpression 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.TripleEncapsulatedCollectionHelper.hasDelimiterAfterIdentifier(AbstractTripleEncapsulatedExpression expression)
Determines whether a delimiter like a whitespace or an open parenthesis was parsed after
the identifier.
|
int |
AbstractContentAssistVisitor.TripleEncapsulatedCollectionHelper.maxCollectionSize(AbstractTripleEncapsulatedExpression expression)
Returns the maximum number of encapsulated
expressions the Expression
allows. |
int |
AbstractContentAssistVisitor.TripleEncapsulatedCollectionHelper.preExpressionLength(AbstractTripleEncapsulatedExpression expression)
Returns the length of anything that can be defined before the first child.
|
JPQLQueryBNF |
AbstractContentAssistVisitor.TripleEncapsulatedCollectionHelper.queryBNF(AbstractTripleEncapsulatedExpression expression,
int index)
Returns the
JPQLQueryBNF that defines the fragment at the given position. |
protected void |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visitAbstractTripleEncapsulatedExpression(AbstractTripleEncapsulatedExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
AbstractTripleEncapsulatedExpression |
AbstractTripleEncapsulatedExpressionStateObject.getExpression()
Returns the actual parsed object if this
StateObject representation of the JPQL query
was created by parsing an existing JPQL query. |
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.