| 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 | Method and Description |
|---|---|
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ConcatExpression> |
AbstractGrammarValidator.buildConcatExpressionHelper() |
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ConcatExpression> |
AbstractGrammarValidator.concatExpressionHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractSemanticValidator.validateConcatExpression(ConcatExpression expression)
Validates the encapsulated expression of the given
CONCAT expression. |
void |
ParameterTypeVisitor.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
void |
AbstractSemanticValidator.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
void |
AbstractGrammarValidator.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
ExpressionVisitor.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
void |
AnonymousExpressionVisitor.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
void |
AbstractExpressionVisitor.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractContentAssistVisitor.ConcatExpressionCollectionHelper.addAtTheEndOfChild(ConcatExpression 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.ConcatExpressionCollectionHelper.addIdentifier(ConcatExpression expression,
String identifier)
Adds the given JPQL identifier as a valid proposal.
|
void |
AbstractContentAssistVisitor.ConcatExpressionCollectionHelper.addTheBeginningOfChild(ConcatExpression 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.ConcatExpressionCollectionHelper.buildCollectionExpression(ConcatExpression 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.ConcatExpressionCollectionHelper.canContinue(ConcatExpression 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.ConcatExpressionCollectionHelper.hasDelimiterAfterIdentifier(ConcatExpression expression)
Determines whether a delimiter like a whitespace or an open parenthesis was parsed after
the identifier.
|
int |
AbstractContentAssistVisitor.ConcatExpressionCollectionHelper.maxCollectionSize(ConcatExpression expression)
Returns the maximum number of encapsulated
expressions the Expression
allows. |
int |
AbstractContentAssistVisitor.ConcatExpressionCollectionHelper.preExpressionLength(ConcatExpression expression)
Returns the length of anything that can be defined before the first child.
|
JPQLQueryBNF |
AbstractContentAssistVisitor.ConcatExpressionCollectionHelper.queryBNF(ConcatExpression expression,
int index)
Returns the
JPQLQueryBNF that defines the fragment at the given position. |
protected boolean |
DefaultSemanticValidator.validateConcatExpression(ConcatExpression expression)
Validates the encapsulated expression of the given
CONCAT expression. |
void |
DefaultSemanticValidator.StringTypeValidator.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
void |
DefaultContentAssistVisitor.AcceptableTypeVisitor.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
void |
AbstractContentAssistVisitor.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
void |
AbstractContentAssistVisitor.AppendableExpressionVisitor.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
void |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
void |
AbstractContentAssistVisitor.MappingFilterBuilder.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicStateObjectBuilder.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
| Modifier and Type | Method and Description |
|---|---|
ConcatExpression |
ConcatExpressionStateObject.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 |
ConcatExpressionStateObject.setExpression(ConcatExpression 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(ConcatExpression expression)
Visits the
ConcatExpression expression. |
void |
FromSubqueryResolver.VirtualMappingBuilder.visit(ConcatExpression expression)
Visits the
ConcatExpression expression. |
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.