| 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 | Method and Description |
|---|---|
protected void |
AbstractGrammarValidator.validateAbstractFromClause(AbstractFromClause expression) |
protected void |
AbstractSemanticValidator.validateAbstractFromClause(AbstractFromClause expression,
AbstractSemanticValidator.FirstDeclarationVisitor visitor)
Validates the given
FROM clause. |
protected void |
AbstractSemanticValidator.validateFirstDeclaration(AbstractFromClause expression,
JPQLQueryDeclaration declaration,
AbstractSemanticValidator.FirstDeclarationVisitor visitor) |
protected void |
AbstractSemanticValidator.validateJoinsIdentificationVariable(AbstractFromClause expression,
List<JPQLQueryDeclaration> declarations,
JPQLQueryDeclaration declaration,
int index) |
| Modifier and Type | Class and Description |
|---|---|
class |
FromClause
The FROM clause of a query defines the domain of the query by declaring identification
variables.
|
class |
SimpleFromClause
The FROM clause of a query defines the domain of the query by declaring identification
variables.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractFromClause |
AbstractSelectStatement.buildFromClause()
Creates the expression representing the from clause of this select statement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EclipseLinkContentAssistVisitor.FromClauseCollectionHelper.addAtTheEndOfChild(AbstractFromClause 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.FromClauseCollectionHelper.addAtTheEndOfChild(AbstractFromClause 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.FromClauseCollectionHelper.addIdentifier(AbstractFromClause expression,
String identifier)
Adds the given JPQL identifier as a valid proposal.
|
void |
EclipseLinkContentAssistVisitor.FromClauseCollectionHelper.addTheBeginningOfChild(AbstractFromClause 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. |
void |
AbstractContentAssistVisitor.FromClauseCollectionHelper.addTheBeginningOfChild(AbstractFromClause 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.FromClauseCollectionHelper.buildCollectionExpression(AbstractFromClause 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.FromClauseCollectionHelper.canContinue(AbstractFromClause 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.FromClauseCollectionHelper.hasDelimiterAfterIdentifier(AbstractFromClause expression)
Determines whether a delimiter like a whitespace or an open parenthesis was parsed after
the identifier.
|
int |
AbstractContentAssistVisitor.FromClauseCollectionHelper.maxCollectionSize(AbstractFromClause expression)
Returns the maximum number of encapsulated
expressions the Expression
allows. |
int |
AbstractContentAssistVisitor.FromClauseCollectionHelper.preExpressionLength(AbstractFromClause expression)
Returns the length of anything that can be defined before the first child.
|
JPQLQueryBNF |
AbstractContentAssistVisitor.FromClauseCollectionHelper.queryBNF(AbstractFromClause expression,
int index)
Returns the
JPQLQueryBNF that defines the fragment at the given position. |
protected void |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visitAbstractFromClause(AbstractFromClause expression) |
| Modifier and Type | Method and Description |
|---|---|
AbstractFromClause |
AbstractFromClauseStateObject.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.