Uses of Class
org.eclipse.persistence.jpa.jpql.parser.AbstractSingleEncapsulatedExpression
Package
Description
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.
This is the core of Hermes, this package contains the classes that can parse a JPQL query.
This package contains the
StateObject
classes that represents a JPQL query.-
Uses of AbstractSingleEncapsulatedExpression in org.eclipse.persistence.jpa.jpql
Modifier and TypeClassDescriptionprotected static class
AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T extends AbstractSingleEncapsulatedExpression>
The abstract implementation ofAbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper
which implements some of the methods since the behavior is the same for all subclasses ofAbstractSingleEncapsulatedExpression
.Modifier and TypeMethodDescriptionprotected <T extends AbstractSingleEncapsulatedExpression>
voidAbstractGrammarValidator.validateAbstractSingleEncapsulatedExpression
(T expression, AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T> helper) Modifier and TypeMethodDescriptionprotected boolean
AbstractSemanticValidator.validateFunctionPathExpression
(AbstractSingleEncapsulatedExpression expression) Validates the givenAbstractSingleEncapsulatedExpression
's encapsulated expression if it is a state field path expression and makes sure it is mapping to a basic mapping. -
Uses of AbstractSingleEncapsulatedExpression in org.eclipse.persistence.jpa.jpql.parser
Modifier and TypeClassDescriptionfinal class
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
In the SELECT clause the result of a query may be the result of an aggregate function applied to a path expression.final class
An ALL conditional expression is a predicate that istrue
if the comparison operation istrue
for all values in the result of the subquery or the result of the subquery is empty.final class
One of the aggregate functions.final class
The CAST function cast value to a different type.final class
A COALESCE expression returnsnull
if all its arguments evaluate tonull
, and the value of the first non-null
argument otherwise.final class
The CONCAT function returns a string that is a concatenation of its arguments.final class
One of the aggregate functions.class
ThisExpression
represents an identification variable that maps aMap
property, either the key, the value or aMap.Entry
).final class
An identification variable qualified by theENTRY
operator is a path expression.final class
An EXISTS expression is a predicate that istrue
only if the result of the subquery consists of one or more values and that isfalse
otherwise.final class
The EXTRACT function extracts a date part from a date/time value.final class
This expression adds support to call native database functions.final class
The INDEX function returns an integer value corresponding to the position of its argument in an ordered list.final class
An identification variable qualified by theKEY
operator is a path expression.final class
The LENGTH function returns the length of the string in characters as an integer.final class
The LOWER function converts a string to lower case and it returns a string.class
Math single argument functions expressions.static final class
TheCEILING
function takes a numeric argument and return a number (integer, float, or double) of the same type as the argument.static final class
TheEXP
function takes a numeric argument and returns a double.static final class
TheFLOOR
function takes a numeric argument and returns a number (integer, float, or double) of the same type as the argument.static final class
TheLN
function takes a numeric argument and returns a double.static final class
TheSIGN
function takes a numeric argument and returns an integer.final class
One of the aggregate functions.final class
One of the aggregate functions.final class
Stand-alone identification variables in the SELECT clause may optionally be qualified by the OBJECT operator.final class
The SIZE function returns an integer value, the number of elements of the collection.final class
The SQRT function takes a numeric argument and returns a double.final class
This expression wraps a sub-expression within parenthesis.final class
One of the aggregate functions.final class
Defines a table expression.final class
The TRIM function trims the specified character from a string.final class
An entity type expression can be used to restrict query polymorphism.final class
The UPPER function converts a string to upper case and it returns a string.final class
An identification variable qualified by theVALUE
operator is a path expression. -
Uses of AbstractSingleEncapsulatedExpression in org.eclipse.persistence.jpa.jpql.tools
Modifier and TypeMethodDescriptionprotected void
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visitAbstractSingleEncapsulatedExpression
(AbstractSingleEncapsulatedExpression expression) protected void
AbstractContentAssistVisitor.visitSingleEncapsulatedExpression
(AbstractSingleEncapsulatedExpression expression, AbstractContentAssistVisitor.IdentificationVariableType identificationVariableType) Adds the possible proposals for the givenexpression
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 givenexpression
based on the location of the cursor and the content of the expression. -
Uses of AbstractSingleEncapsulatedExpression in org.eclipse.persistence.jpa.jpql.tools.model.query
Modifier and TypeMethodDescriptionAbstractSingleEncapsulatedExpressionStateObject.getExpression()