| 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.AbstractSingleEncapsulatedExpressionHelper<T extends AbstractSingleEncapsulatedExpression>
The abstract implementation of
AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper which
implements some of the methods since the behavior is the same for all subclasses of
AbstractSingleEncapsulatedExpression. |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends AbstractSingleEncapsulatedExpression> |
AbstractGrammarValidator.validateAbstractSingleEncapsulatedExpression(T expression,
AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T> helper) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractSemanticValidator.validateFunctionPathExpression(AbstractSingleEncapsulatedExpression expression)
Validates the given
AbstractSingleEncapsulatedExpression's encapsulated expression if
it is a state field path expression and makes sure it is mapping to a basic mapping. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbsExpression
The ABS function removes the minus sign from a specified argument and returns the absolute
value, which is always a positive number or zero.
|
class |
AggregateFunction
In the SELECT clause the result of a query may be the result of an aggregate function
applied to a path expression.
|
class |
AllOrAnyExpression
An ALL conditional expression is a predicate that is
true if the comparison
operation is true for all values in the result of the subquery or the result of the
subquery is empty. |
class |
AvgFunction
One of the aggregate functions.
|
class |
CastExpression
The CAST function cast value to a different type.
|
class |
CoalesceExpression
A COALESCE expression returns
null if all its arguments evaluate to
null, and the value of the first non-null argument otherwise. |
class |
ConcatExpression
The CONCAT function returns a string that is a concatenation of its arguments.
|
class |
CountFunction
One of the aggregate functions.
|
class |
EncapsulatedIdentificationVariableExpression
This
Expression represents an identification variable that maps a Map
property, either the key, the value or a Map.Entry). |
class |
EntryExpression
An identification variable qualified by the
ENTRY operator is a path
expression. |
class |
ExistsExpression
An EXISTS expression is a predicate that is
true only if the result of the
subquery consists of one or more values and that is false otherwise. |
class |
ExtractExpression
The EXTRACT function extracts a date part from a date/time value.
|
class |
FunctionExpression
This expression adds support to call native database functions.
|
class |
IndexExpression
The INDEX function returns an integer value corresponding to the position of its argument
in an ordered list.
|
class |
KeyExpression
An identification variable qualified by the
KEY operator is a path
expression. |
class |
LengthExpression
The LENGTH function returns the length of the string in characters as an integer.
|
class |
LowerExpression
The LOWER function converts a string to lower case and it returns a string.
|
class |
MaxFunction
One of the aggregate functions.
|
class |
MinFunction
One of the aggregate functions.
|
class |
ObjectExpression
Stand-alone identification variables in the SELECT clause may optionally be qualified by
the OBJECT operator.
|
class |
SizeExpression
The SIZE function returns an integer value, the number of elements of the collection.
|
class |
SqrtExpression
The SQRT function takes a numeric argument and returns a double.
|
class |
SubExpression
This expression wraps a sub-expression within parenthesis.
|
class |
SumFunction
One of the aggregate functions.
|
class |
TableExpression
Defines a table expression.
|
class |
TrimExpression
The TRIM function trims the specified character from a string.
|
class |
TypeExpression
An entity type expression can be used to restrict query polymorphism.
|
class |
UpperExpression
The UPPER function converts a string to upper case and it returns a string.
|
class |
ValueExpression
An identification variable qualified by the
VALUE operator is a path
expression. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visitAbstractSingleEncapsulatedExpression(AbstractSingleEncapsulatedExpression expression) |
protected void |
AbstractContentAssistVisitor.visitSingleEncapsulatedExpression(AbstractSingleEncapsulatedExpression expression,
AbstractContentAssistVisitor.IdentificationVariableType identificationVariableType)
Adds the possible proposals for the given
expression
based on the location of the cursor and the content of the expression. |
protected void |
AbstractContentAssistVisitor.visitSingleEncapsulatedExpression(AbstractSingleEncapsulatedExpression expression,
AbstractContentAssistVisitor.IdentificationVariableType identificationVariableType,
String... expressionIdentifiers)
Adds the possible proposals for the given
expression
based on the location of the cursor and the content of the expression. |
| Modifier and Type | Method and Description |
|---|---|
AbstractSingleEncapsulatedExpression |
AbstractSingleEncapsulatedExpressionStateObject.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.