| 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 |
The classes defined in this package define the state model API, a state model can be used to
manually or programmatically create and edit a JPQL query.
|
| org.eclipse.persistence.jpa.jpql.tools.model.query |
This package contains the
StateObject classes that represents a JPQL query. |
| org.eclipse.persistence.jpa.jpql.tools.resolver |
| Modifier and Type | Field and Description |
|---|---|
UpdateClause |
AbstractValidator.OwningClauseVisitor.updateClause |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSemanticValidator.validateUpdateClause(UpdateClause expression)
Validates the given
UpdateClause. |
void |
BaseDeclarationIdentificationVariableFinder.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
AbstractValidator.OwningClauseVisitor.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
AbstractSemanticValidator.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
AbstractGrammarValidator.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
| Modifier and Type | Method and Description |
|---|---|
UpdateClause |
UpdateStatement.getUpdateClause()
Returns the
UpdateClause representing the UPDATE clause. |
| Modifier and Type | Method and Description |
|---|---|
void |
FullyQualifyPathExpressionVisitor.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
ExpressionVisitor.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
AnonymousExpressionVisitor.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
AbstractExpressionVisitor.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractContentAssistVisitor.UpdateItemCollectionHelper.addAtTheEndOfChild(UpdateClause 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.UpdateItemCollectionHelper.addIdentifier(UpdateClause expression,
String identifier)
Adds the given JPQL identifier as a valid proposal.
|
void |
AbstractContentAssistVisitor.UpdateItemCollectionHelper.addTheBeginningOfChild(UpdateClause 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.UpdateItemCollectionHelper.buildCollectionExpression(UpdateClause 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.UpdateItemCollectionHelper.canContinue(UpdateClause expression,
CollectionExpression collectionExpression,
int index)
Asks this helper if the search can continue even though two child expressions are not
separated by a comma.
|
protected RangeVariableDeclaration |
AbstractContentAssistVisitor.findRangeVariableDeclaration(UpdateClause expression)
Retrieves the
RangeVariableDeclaration that defines the entity name and identification
variable for the given UpdateClause. |
boolean |
AbstractContentAssistVisitor.UpdateItemCollectionHelper.hasDelimiterAfterIdentifier(UpdateClause expression)
Determines whether a delimiter like a whitespace or an open parenthesis was parsed after
the identifier.
|
int |
AbstractContentAssistVisitor.UpdateItemCollectionHelper.maxCollectionSize(UpdateClause expression)
Returns the maximum number of encapsulated
expressions the Expression
allows. |
int |
AbstractContentAssistVisitor.UpdateItemCollectionHelper.preExpressionLength(UpdateClause expression)
Returns the length of anything that can be defined before the first child.
|
JPQLQueryBNF |
AbstractContentAssistVisitor.UpdateItemCollectionHelper.queryBNF(UpdateClause expression,
int index)
Returns the
JPQLQueryBNF that defines the fragment at the given position. |
void |
DefaultSemanticValidator.UpdateClauseAbstractSchemaNameFinder.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
AbstractContentAssistVisitor.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
AbstractContentAssistVisitor.AppendableExpressionVisitor.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicStateObjectBuilder.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
BasicStateObjectBuilder.UpdateStatementBuilder.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
| Modifier and Type | Method and Description |
|---|---|
UpdateClause |
UpdateClauseStateObject.getExpression()
Returns the actual parsed object if this
StateObject representation of the JPQL query
was created by parsing an existing JPQL query. |
| Modifier and Type | Method and Description |
|---|---|
void |
UpdateClauseStateObject.setExpression(UpdateClause expression)
Keeps a reference of the
parsed object object, which should only be
done when this object is instantiated during the conversion of a parsed JPQL query into
StateObjects. |
| Modifier and Type | Method and Description |
|---|---|
void |
ResolverBuilder.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
DeclarationResolver.DeclarationVisitor.visit(UpdateClause expression)
Visits the
UpdateClause expression. |
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.