| 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.AbstractDoubleEncapsulatedExpressionHelper<T extends AbstractDoubleEncapsulatedExpression> |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends AbstractDoubleEncapsulatedExpression> |
AbstractGrammarValidator.validateAbstractDoubleEncapsulatedExpression(T expression,
AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<T> helper)
Validates the content of an
AbstractDoubleEncapsulatedExpression, which encapsulates
two expressions separated by a comma. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ParameterTypeVisitor.visitDoubleEncapsulatedExpression(AbstractDoubleEncapsulatedExpression expression) |
| Modifier and Type | Class and Description |
|---|---|
class |
DatabaseType
This expression represents the database specific data type, which may include size and scale.
|
class |
ModExpression
The modulo operation finds the remainder of division of one number by another.
|
class |
NullIfExpression
NULLIF returns the first expression if the two expressions are not equal.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractContentAssistVisitor.DoubleEncapsulatedCollectionHelper.addAtTheEndOfChild(AbstractDoubleEncapsulatedExpression 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.DoubleEncapsulatedCollectionHelper.addIdentifier(AbstractDoubleEncapsulatedExpression expression,
String identifier)
Adds the given JPQL identifier as a valid proposal.
|
void |
AbstractContentAssistVisitor.DoubleEncapsulatedCollectionHelper.addTheBeginningOfChild(AbstractDoubleEncapsulatedExpression 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.DoubleEncapsulatedCollectionHelper.buildCollectionExpression(AbstractDoubleEncapsulatedExpression 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.DoubleEncapsulatedCollectionHelper.canContinue(AbstractDoubleEncapsulatedExpression 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.DoubleEncapsulatedCollectionHelper.hasDelimiterAfterIdentifier(AbstractDoubleEncapsulatedExpression expression)
Determines whether a delimiter like a whitespace or an open parenthesis was parsed after
the identifier.
|
int |
AbstractContentAssistVisitor.DoubleEncapsulatedCollectionHelper.maxCollectionSize(AbstractDoubleEncapsulatedExpression expression)
Returns the maximum number of encapsulated
expressions the Expression
allows. |
int |
AbstractContentAssistVisitor.DoubleEncapsulatedCollectionHelper.preExpressionLength(AbstractDoubleEncapsulatedExpression expression)
Returns the length of anything that can be defined before the first child.
|
JPQLQueryBNF |
AbstractContentAssistVisitor.DoubleEncapsulatedCollectionHelper.queryBNF(AbstractDoubleEncapsulatedExpression expression,
int index)
Returns the
JPQLQueryBNF that defines the fragment at the given position. |
protected void |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visitAbstractDoubleEncapsulatedExpression(AbstractDoubleEncapsulatedExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
AbstractDoubleEncapsulatedExpression |
AbstractDoubleEncapsulatedExpressionStateObject.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.