Uses of Interface
org.eclipse.persistence.jpa.jpql.parser.Expression
-
Packages that use Expression 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. -
-
Uses of Expression in org.eclipse.persistence.jpa.jpql
Fields in org.eclipse.persistence.jpa.jpql declared as Expression Modifier and Type Field Description protected ExpressionAbstractEclipseLinkSemanticValidator.TableExpressionVisitor. expressionTheExpressionbeing visited.protected ExpressionParameterTypeVisitor. expressionTheExpressionthat will help to determine the type of the input parameter.Fields in org.eclipse.persistence.jpa.jpql with type parameters of type Expression Modifier and Type Field Description protected List<Expression>AbstractValidator.ChildrenCollectorVisitor. expressionsThe uniqueExpressionthat was visited or the children ofCollectionExpression.protected Set<Expression>ParameterTypeVisitor. visitedExpressionsThis is used to prevent an infinite loop.Methods in org.eclipse.persistence.jpa.jpql that return Expression Modifier and Type Method Description ExpressionJPQLQueryDeclaration. getBaseExpression()Returns the range variable declaration if this is a range declaration otherwise the collection-valued path expression when this is a collection member declaration.ExpressionJPQLQueryDeclaration. getDeclarationExpression()Returns the declaration expression, which is either anIdentificationVariableDeclarationor aCollectionMemberDeclarationwhen part of a FROM clause, otherwise it's either theDeleteClauseor theUpdateClause.ExpressionJPQLQueryProblem. getExpression()Returns the parsed tree representing the JPQL query.Methods in org.eclipse.persistence.jpa.jpql that return types with arguments of type Expression Modifier and Type Method Description protected List<Expression>AbstractValidator. getChildren(Expression expression)Returns a list containing either the givenExpressionif it's not aCollectionExpressionor the children of the givenCollectionExpression.Methods in org.eclipse.persistence.jpa.jpql with parameters of type Expression Modifier and Type Method Description protected voidAbstractValidator. addProblem(Expression expression, int startPosition, int endPosition, String messageKey, String... messageArguments)Adds a new validation problem that was found in the givenExpression.protected voidAbstractValidator. addProblem(Expression expression, int startPosition, String messageKey, String... messageArguments)Adds a new validation problem that was found in the givenExpression.protected voidAbstractValidator. addProblem(Expression expression, String messageKey)Adds a new validation problem that was found in the givenExpression.protected voidAbstractValidator. addProblem(Expression expression, String messageKey, String... arguments)Adds a new validation problem that was found in the givenExpression.protected JPQLQueryProblemAbstractValidator. buildProblem(Expression expression, int startPosition, int endPosition, String messageKey, String... messageArguments)Creates a new validation problem that was found in the givenExpression.protected List<Expression>AbstractValidator. getChildren(Expression expression)Returns a list containing either the givenExpressionif it's not aCollectionExpressionor the children of the givenCollectionExpression.protected CollectionExpressionAbstractGrammarValidator. getCollectionExpression(Expression expression)Casts the givenExpressionto aCollectionExpressionif it is actually an object of that type.protected CollectionValuedPathExpressionAbstractSemanticValidator. getCollectionValuedPathExpression(Expression expression)ObjectSemanticValidatorHelper. getManagedType(Expression expression)Returns the managed type by resolving the givenExpression.protected StateFieldPathExpressionAbstractSemanticValidator. getStateFieldPathExpression(Expression expression)ObjectSemanticValidatorHelper. getType(Expression expression)Returns the type by resolving the givenExpression.ObjectSemanticValidatorHelper. getTypeDeclaration(Expression expression)Returns the type declaration for the givenExpression's type.protected booleanAbstractGrammarValidator. isCollectionExpression(Expression expression)Determines whether the givenExpressionis aCollectionExpression.protected booleanAbstractGrammarValidator. isDateTimeConstant(Expression leftExpression)Determines whether the givenExpressionrepresents one of the three date constants or not.protected booleanAbstractValidator. isNestedArray(Expression expression)Determines whether the givenExpressionrepresents a nested array or not.protected booleanAbstractGrammarValidator. isOwnedByConditionalClause(Expression expression)Determines whether the givenExpressionis a child of the WHERE or HAVING clause of the top-level query.protected booleanAbstractGrammarValidator. isOwnedByFromClause(Expression expression)Determines whether the givenExpressionis a child of the FROM clause of the top-level query.protected booleanEclipseLinkGrammarValidator. isOwnedByInExpression(Expression expression)protected booleanAbstractGrammarValidator. isOwnedBySubFromClause(Expression expression)Determines whether the givenExpressionis a child of the FROM clause of a subquery.protected booleanEclipseLinkGrammarValidator. isOwnedByUnionClause(Expression expression)Determines whether the givenExpressionis a child of the UNION clause.protected booleanAbstractValidator. isSubquery(Expression expression)Determines whether the givenExpressionis a subquery.protected booleanAbstractEclipseLinkSemanticValidator. isTableExpression(Expression expression)protected booleanAbstractValidator. isValid(Expression expression, String queryBNFId)Determines whether the givenExpressionis valid by checking itsJPQLQueryBNFwith theJPQLQueryBNFassociated with the given unique identifier.protected booleanAbstractValidator. isValid(Expression expression, String... queryBNFIds)Determines whether the givenExpressionis valid by checking itsJPQLQueryBNFwith the list ofJPQLQueryBNFassociated with the given unique identifiers.protected booleanAbstractValidator. isValid(Expression expression, JPQLQueryBNF queryBNF)Determines whether the givenExpressionis valid by checking itsJPQLQueryBNFwith the givenJPQLQueryBNF.protected booleanAbstractValidator. isValidWithChildCollectionBypass(Expression expression, String queryBNF)Determines whether the givenExpressionpart is an expression of the given query BNF.protected booleanAbstractValidator. isWithinSubquery(Expression expression)Determines whether the givenExpressionis part of a subquery.protected booleanAbstractValidator. isWithinTopLevelQuery(Expression expression)Determines whether the givenExpressionis part of the top-level query.protected intAbstractValidator. length(Expression expression)Returns the length of the string representation of the givenExpression.protected StringAbstractValidator. literal(Expression expression, LiteralType type)Retrieves the "literal" from the givenExpression.protected intAbstractValidator. nestedArraySize(Expression expression)Returns the number of items in the nested array if the givenExpressionrepresents one.protected intAbstractGrammarValidator. position(Expression expression, int... extras)protected intAbstractValidator. position(Expression expression)Calculates the position of the given expression by calculating the length of what is before.ObjectSemanticValidatorHelper. resolveMapping(Expression expression)Returns the mapping for the field represented by the givenExpression.protected intAbstractEclipseLinkSemanticValidator. subquerySelectItemCount(Expression subquery)Retrieves the number of select items the given subquery has.protected voidAbstractGrammarValidator. validateCollectionSeparatedByComma(Expression expression, String endsWithCommaProblemKey, String missingCommaProblemKey)Validates the givenExpressionby making sure each child is separated by a comma.protected voidAbstractGrammarValidator. validateCollectionSeparatedBySpace(Expression expression, String endsWithCommaProblemKey, String hasCommaProblemKey)Validates the givenExpressionby making sure each child is separated by a whitespace.protected booleanAbstractSemanticValidator. validateCollectionValuedPathExpression(Expression expression, boolean collectionTypeOnly)Validates the givenExpressionand makes sure it's a valid collection value path expression.protected voidAbstractGrammarValidator. validateIdentifier(Expression expression, String variableName, int variableLength, String reservedWordProblemKey, String invalidJavaIdentifierProblemKey)Validates the given variable name to make sure: It is not a JPQL reserved identifier; It is a valid Java identifier.protected booleanAbstractSemanticValidator. validateJoinCollectionValuedPathExpression(Expression expression, boolean collectionTypeOnly)Validates the givenExpressionand makes sure it's a valid collection value path expression.protected voidAbstractEclipseLinkSemanticValidator.SubquerySelectItemCalculator. visit(Expression expression)protected voidAbstractSemanticValidator.ComparisonExpressionVisitor. visit(Expression expression)protected voidAbstractSemanticValidator.FirstDeclarationVisitor. visit(Expression expression)protected voidAbstractSemanticValidator.InItemsVisitor. visit(Expression expression)protected voidAbstractValidator.BypassChildCollectionExpressionVisitor. visit(Expression expression)protected voidAbstractValidator.BypassParentSubExpressionVisitor. visit(Expression expression)protected voidAbstractValidator.ChildrenCollectorVisitor. visit(Expression expression)protected voidAbstractValidator.JPQLQueryBNFValidator. visit(Expression expression)protected voidAbstractValidator. visit(Expression expression)protected voidParameterTypeVisitor. visitDoubleExpressions(Expression expression, Expression firstExpression, Expression secondExpression, boolean traverseParent) -
Uses of Expression in org.eclipse.persistence.jpa.jpql.parser
Classes in org.eclipse.persistence.jpa.jpql.parser that implement Expression Modifier and Type Class Description classAbsExpressionThe ABS function removes the minus sign from a specified argument and returns the absolute value, which is always a positive number or zero.classAbstractConditionalClauseConditional expressions are composed of other conditional expressions, comparison operations, logical operations, path expressions that evaluate to boolean values, boolean literals, and boolean input parameters.classAbstractDoubleEncapsulatedExpressionThisExpressiontakes care of parsing an expression that encapsulates two expressions separated by a comma.classAbstractEncapsulatedExpressionThis expression handles parsing the identifier followed by an expression encapsulated within parenthesis.classAbstractExpressionThis is the abstract definition of all the parts used to create the tree hierarchy representing the parsed JPQL query.classAbstractFromClauseThe FROM clause of a query defines the domain of the query by declaring identification variables.classAbstractOrderByClauseAn ordering clause allows the objects or values that are returned by the query to be ordered.classAbstractPathExpressionAn identification variable followed by the navigation operator (.) and a state field or association field is a path expression.classAbstractSchemaNameAn abstract schema name designates the abstract schema type over which the query ranges.classAbstractSelectClauseThe SELECT clause denotes the query result.classAbstractSelectStatementA query is an operation that retrieves data from one or more tables or views.classAbstractSingleEncapsulatedExpressionThis expression handles parsing a JPQL identifier followed by an expression encapsulated within parenthesis.classAbstractTripleEncapsulatedExpressionThisExpressiontakes care of parsing an expression that encapsulates three expressions separated by a comma.classAdditionExpressionOne of the four binary operators.classAggregateFunctionIn the SELECT clause the result of a query may be the result of an aggregate function applied to a path expression.classAllOrAnyExpressionAn ALL conditional expression is a predicate that istrueif the comparison operation istruefor all values in the result of the subquery or the result of the subquery is empty.classAndExpressionThe AND logical operator chains multiple criteria together.classArithmeticExpressionThis expression represents an arithmetic expression, which means the first and second expressions are aggregated with an arithmetic sign.classArithmeticFactorThis expression simply adds a plus or minus sign to the arithmetic primary expression.classAsOfClauseAnAS OFclause is part of a flashback query, which provides ways to view past states of database objects, or to return database objects to a previous state, without using traditional point-in-time recovery.classAvgFunctionOne of the aggregate functions.classBadExpressionThis wraps anotherExpressionthat was correctly parsed by it is located in an invalid location within the JPQL query.classBetweenExpressionUsed in conditional expression to determine whether the result of an expression falls within an inclusive range of values.classCaseExpressionBNF:general_case_expression ::= CASE when_clause {when_clause}* ELSE scalar_expression ENDor BNF:simple_case_expression ::= CASE case_operand simple_when_clause {simple_when_clause}* ELSE scalar_expression ENDclassCastExpressionThe CAST function cast value to a different type.classCoalesceExpressionA COALESCE expression returnsnullif all its arguments evaluate tonull, and the value of the first non-nullargument otherwise.classCollectionExpressionACollectionExpressionwraps many expression which they are separated by spaces and/or commas.classCollectionMemberDeclarationAn identification variable declared by a collection member declaration ranges over values of a collection obtained by navigation using a path expression.classCollectionMemberExpressionThis expression tests whether the designated value is a member of the collection specified by the collection-valued path expression.classCollectionValuedPathExpressionAcollection_valued_fieldis designated by the name of an association field in a one-to-many or a many-to-many relationship or by the name of an element collection field.classComparisonExpressionOnly the values of like types are permitted to be compared.classCompoundExpressionA compound expression has a left and right expressions combined by an identifier.classConcatExpressionThe CONCAT function returns a string that is a concatenation of its arguments.classConnectByClauseThe CONNECT BY clause allows selecting rows in a hierarchical order using the hierarchical query clause.classConstructorExpressionIn the SELECT clause a constructor may be used in the SELECT list to return one or more Java instances.classCountFunctionOne of the aggregate functions.classDatabaseTypeThis expression represents the database specific data type, which may include size and scale.classDateTimeThisExpressionrepresents a date or time.classDefaultStringExpressionAn implementation of anExpressionthat wraps a string.classDeleteClauseThis is the delete clause of the delete statement.classDeleteStatementBulk delete operation apply to entities of a single entity class (together with its subclasses, if any).classDivisionExpressionOne of the four binary operators.classEmptyCollectionComparisonExpressionThis expression tests whether or not the collection designated by the collection-valued path expression is empty (i.e, has no elements).classEncapsulatedIdentificationVariableExpressionThisExpressionrepresents an identification variable that maps aMapproperty, either the key, the value or aMap.Entry).classEntityTypeLiteralThisExpressionwraps the name of an entity type.classEntryExpressionAn identification variable qualified by theENTRYoperator is a path expression.classExistsExpressionAn EXISTS expression is a predicate that istrueonly if the result of the subquery consists of one or more values and that isfalseotherwise.classExtractExpressionThe EXTRACT function extracts a date part from a date/time value.classFromClauseThe FROM clause of a query defines the domain of the query by declaring identification variables.classFunctionExpressionThis expression adds support to call native database functions.classGroupByClauseThe GROUP BY construct enables the aggregation of values according to the properties of an entity class.classHavingClauseThe HAVING construct enables conditions to be specified that further restrict the query result as restrictions upon the groups.classHierarchicalQueryClauseIf a table contains hierarchical data, then rows can be selected in a hierarchical order using the hierarchical query clause.classIdentificationVariableAn identification variable is a valid identifier declared in the FROM clause of a query.classIdentificationVariableDeclarationAn identification variable is a valid identifier declared in the FROM clause of a query.classIndexExpressionThe INDEX function returns an integer value corresponding to the position of its argument in an ordered list.classInExpressionThe state field path expression must have a string, numeric, or enum value.classInputParameterEither positional or named parameters may be used.classJoinA JOIN enables the fetching of an association as a side effect of the execution of a query.classJPQLExpressionAJPQLExpressionis the root of the parsed tree representation of a JPQL query.classKeyExpressionAn identification variable qualified by theKEYoperator is a path expression.classKeywordExpressionThe expression representing some keywords:TRUE,FALSEorNULL.classLengthExpressionThe LENGTH function returns the length of the string in characters as an integer.classLikeExpressionThe LIKE condition is used to specify a search for a pattern.classLocalDateTimeTheDATE | TIME | DATETIMEargument ofLOCALlocal_datetime_type expression.classLocalExpressionTheLOCAL local_datetime_typeexpression.classLocateExpressionThe LOCATE function returns the position of a given string within a string, starting the search at a specified position.classLogicalExpressionThis expression represents a logical expression, which means the first and second expressions are aggregated with either AND or OR.classLowerExpressionThe LOWER function converts a string to lower case and it returns a string.classMathDoubleExpressionMath double argument functions expressions.static classMathDoubleExpression.PowerThePOWERfunction takes two numeric arguments and returns a double.static classMathDoubleExpression.RoundTheROUNDfunction takes numeric argument and an integer argument and returns a number of the same type as the first argument.classMathSingleExpressionMath single argument functions expressions.static classMathSingleExpression.CeilingTheCEILINGfunction takes a numeric argument and return a number (integer, float, or double) of the same type as the argument.static classMathSingleExpression.ExpTheEXPfunction takes a numeric argument and returns a double.static classMathSingleExpression.FloorTheFLOORfunction takes a numeric argument and returns a number (integer, float, or double) of the same type as the argument.static classMathSingleExpression.LnTheLNfunction takes a numeric argument and returns a double.static classMathSingleExpression.SignTheSIGNfunction takes a numeric argument and returns an integer.classMaxFunctionOne of the aggregate functions.classMinFunctionOne of the aggregate functions.classModExpressionThe modulo operation finds the remainder of division of one number by another.classMultiplicationExpressionOne of the four binary operators.classNotExpressionBNF:expression ::= NOT conditional_primaryclassNullComparisonExpressionA null comparison tests whether or not the single-valued path expression or input parameter is a NULL value.classNullExpressionAnullExpressionis used instead of a truenull, which allows operations to be performed without doing anullcheck first.classNullIfExpressionNULLIF returns the first expression if the two expressions are not equal.classNumericLiteralExact numeric literals support the use of Java integer literal syntax as well as SQL exact numeric literal syntax.classObjectExpressionStand-alone identification variables in the SELECT clause may optionally be qualified by the OBJECT operator.classOnClauseReturns an expression that allows a join ON clause to be defined.classOrderByClauseThe ORDER BY clause allows the objects or values that are returned by the query to be ordered.classOrderByItemAn orderby_item must be one of the following: Astate_field_path_expressionthat evaluates to an orderable state field of an entity or embeddable class abstract schema type designated in the SELECT clause by one of the following: A general_identification_variable A single_valued_object_path_expression Astate_field_path_expressionthat evaluates to the same state field of the same entity or embeddable abstract schema type as astate_field_path_expressionin the SELECT clause Aresult_variablethat refers to an orderable item in the SELECT clause for which the sameresult_variablehas been specified.classOrderSiblingsByClauseIn a hierarchical query, if the rows of siblings of the same parent need to be ordered, then theORDER SIBLINGS BYclause should be used.classOrExpressionThe OR logical operator chains multiple criteria together.classRangeVariableDeclarationRange variable declarations allow the developer to designate a "root" for objects which may not be reachable by navigation.classRegexpExpressionThe REGEXP condition is used to specify a search for a pattern.classResultVariableA result variable may be used to name a select item in the query result.classSelectClauseThe SELECT clause queries data from entities.classSelectStatementASELECTquery is an operation that retrieves data from one or more tables or views.classSimpleFromClauseThe FROM clause of a query defines the domain of the query by declaring identification variables.classSimpleSelectClauseThe SELECT statement queries data from entities.classSimpleSelectStatementBNFLsubquery ::= simple_select_clause subquery_from_clause [where_clause] [groupby_clause] [having_clause]classSizeExpressionThe SIZE function returns an integer value, the number of elements of the collection.classSqrtExpressionThe SQRT function takes a numeric argument and returns a double.classStartWithClauseASTART WITHclause is optional and specifies the root row(s) of the hierarchy.classStateFieldPathExpressionAsingle_valued_association_fieldis designated by the name of an association-field in a one-to-one or many-to-one relationship.classStringLiteralA string literal is enclosed in single quotes.classSubExpressionThis expression wraps a sub-expression within parenthesis.classSubstringExpressionThe second and third arguments of the SUBSTRING function denote the starting position and length of the substring to be returned.classSubtractionExpressionOne of the four binary operators.classSumFunctionOne of the aggregate functions.classTableExpressionDefines a table expression.classTableVariableDeclarationDefines a table expression.classTreatExpressionReturns an expression that allows to treat its base as if it were a subclass of the class returned by the base.classTrimExpressionThe TRIM function trims the specified character from a string.classTypeExpressionAn entity type expression can be used to restrict query polymorphism.classUnionClauseThe UNION clause allows the results of two queries to be combined.classUnknownExpressionThis expression contains a portion of the query that is unknown to the parser.classUpdateClauseThis is the update clause of the update statement.classUpdateItemThenew_valuespecified for an update operation must be compatible in type with the field to which it is assigned.classUpdateStatementThe UPDATE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression.classUpperExpressionThe UPPER function converts a string to upper case and it returns a string.classValueExpressionAn identification variable qualified by theVALUEoperator is a path expression.classWhenClauseA WHEN predicate is used to calculate a condition and when it's true, its THEN will be executed.classWhereClauseThe WHERE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression.Methods in org.eclipse.persistence.jpa.jpql.parser that return Expression Modifier and Type Method Description protected ExpressionAbstractExpression. buildStringExpression(char value)Creates a newExpressionwrapping the given character value.protected ExpressionAbstractExpression. buildStringExpression(String value)Creates a newExpressionwrapping the given string value.ExpressionAbstractFromClause. getAsOfClause()Returns theExpressionrepresenting the AS OF clause.ExpressionCaseExpression. getCaseOperand()Returns theExpressionthat represents the CASE operand.ExpressionCollectionExpression. getChild(int index)Retrieves the childExpressionat the given position.ExpressionCollectionMemberDeclaration. getCollectionValuedPathExpression()Returns theExpressionrepresenting the collection member, which is declared by an identification variable.ExpressionCollectionMemberExpression. getCollectionValuedPathExpression()Returns theExpressionrepresenting the collection-valued path expression.ExpressionTreatExpression. getCollectionValuedPathExpression()Returns theExpressionthat represents the collection-valued path expression.ExpressionAbstractConditionalClause. getConditionalExpression()Returns the expression representing the composition of the conditional expressions.ExpressionHierarchicalQueryClause. getConnectByClause()Returns theExpressionrepresenting the CONNECT BY clause.ExpressionConstructorExpression. getConstructorItems()Returns the constructor items aggregated into a single expression and separated by commas or a single expression.ExpressionCastExpression. getDatabaseType()Returns the database type to cast to.ExpressionLocalExpression. getDateType()Returns theExpressionrepresenting the expression with date type.ExpressionAbstractFromClause. getDeclaration()Returns theExpressionthat represents the declaration of this clause.ExpressionCollectionMemberExpression. getEntityExpression()Returns theExpressionrepresenting the entity expression.ExpressionTreatExpression. getEntityType()Returns theExpressionthat represents the entity type that will be used to downcast the type of the elements in the collection.ExpressionLikeExpression. getEscapeCharacter()Returns theExpressionthat represents the escape character, which is either a single character or an input parameter.ExpressionAbstractSingleEncapsulatedExpression. getExpression()Returns theExpressionthat is encapsulated within parenthesis.ExpressionArithmeticFactor. getExpression()Returns theExpressionrepresenting the arithmetic primary.ExpressionAsOfClause. getExpression()Returns theExpressionrepresenting the timestamp or change number.ExpressionBadExpression. getExpression()Returns theExpressionthat was parsed but grammatically, it is not a valid location.ExpressionBetweenExpression. getExpression()Returns theExpressionrepresenting the expression to be tested for a range of values.ExpressionConnectByClause. getExpression()Returns theExpressionrepresenting the relationship expression.ExpressionEmptyCollectionComparisonExpression. getExpression()Returns theExpressionthat represents the collection-valued path expression if it was parsed.ExpressionInExpression. getExpression()Returns theExpressionthat represents the state field path expression or type discriminator.ExpressionJPQLExpression. getExpression(String actualQuery, int position)Returns the deepestExpressionfor the given position.ExpressionNotExpression. getExpression()Returns theExpressionrepresenting the expression that is negated.ExpressionNullComparisonExpression. getExpression()Returns the expression being tested for beingnull.ExpressionOrderByItem. getExpression()Returns theExpressionthat represents the order by expression.ExpressionQueryPosition. getExpression()Returns the childExpressionwhere the position of the cursor is.ExpressionAbstractDoubleEncapsulatedExpression. getFirstExpression()Returns theExpressionthat represents the first expression.ExpressionAbstractTripleEncapsulatedExpression. getFirstExpression()Returns theExpressionthat represents the first expression.ExpressionAbstractSelectStatement. getFromClause()Returns theExpressionrepresenting the FROM clause.ExpressionAbstractSelectStatement. getGroupByClause()Returns theExpressionrepresenting the GROUP BY clause.ExpressionGroupByClause. getGroupByItems()Returns theExpressionthat represents the list of group by items if any was parsed.ExpressionAbstractSelectStatement. getHavingClause()Returns theExpressionrepresenting the HAVING clause.ExpressionAbstractFromClause. getHierarchicalQueryClause()Returns theExpressionrepresenting the hierarchical query clause.ExpressionAbstractPathExpression. getIdentificationVariable()Returns the identification variable that starts the path expression, which can be a sample identification variable, a map value, map key or map entry expression.ExpressionCollectionMemberDeclaration. getIdentificationVariable()Returns theExpressionrepresenting the identification variable, which maps the collection-valued path expression.ExpressionJoin. getIdentificationVariable()Returns theExpressionthat represents the identification variable.ExpressionRangeVariableDeclaration. getIdentificationVariable()Returns theExpressionthat represents the identification variable.ExpressionTableVariableDeclaration. getIdentificationVariable()Returns theExpressionthat represents the identification variable.ExpressionInExpression. getInItems()Returns theExpressionthat represents the list if items.ExpressionJoin. getJoinAssociationPath()Returns theExpressionthat represents the join association path expression.ExpressionIdentificationVariableDeclaration. getJoins()Returns the unique join (fetch join) or the list of joins (fetch joins) expression.ExpressionCompoundExpression. getLeftExpression()Returns theExpressionthat represents the first expression, which is before the identifier.ExpressionBetweenExpression. getLowerBoundExpression()Returns theExpressionrepresenting the lower bound expression.ExpressionUpdateItem. getNewValue()Returns theExpressionrepresenting the new value, which is the new value of the property.ExpressionJoin. getOnClause()Returns theExpressionthat represents the ON clause if present.ExpressionSelectStatement. getOrderByClause()Returns theExpressionrepresenting the ORDER BY clause.ExpressionAbstractOrderByClause. getOrderByItems()Returns theExpressionrepresenting the list of items to order.ExpressionHierarchicalQueryClause. getOrderSiblingsByClause()Returns theExpressionrepresenting the ORDER SIBLINGS BY clause.ExpressionExpression. getParent()Returns the parent of thisExpression.ExpressionLikeExpression. getPatternValue()Returns theExpressionthat represents the pattern value.ExpressionRegexpExpression. getPatternValue()Returns theExpressionthat represents the pattern value.ExpressionUnionClause. getQuery()Returns theExpressionrepresenting the unioned query.ExpressionJPQLExpression. getQueryStatement()Returns theExpressionrepresenting the query, which is either a SELECT, a DELETE or an UPDATE clause.ExpressionDeleteClause. getRangeVariableDeclaration()Returns theExpressionrepresenting the range variable declaration.ExpressionIdentificationVariableDeclaration. getRangeVariableDeclaration()Returns the variable declaration, which is the abstract schema name and the identification variable.ExpressionUpdateClause. getRangeVariableDeclaration()Returns theExpressionrepresenting the range variable declaration.ExpressionResultVariable. getResultVariable()Returns theExpressionrepresenting the result variable.ExpressionCompoundExpression. getRightExpression()Returns theExpressionthat represents the second expression, which is after the identifier.ExpressionRangeVariableDeclaration. getRootObject()Returns theExpressionthat represents the "root" object.ExpressionAbstractDoubleEncapsulatedExpression. getSecondExpression()Returns theExpressionthat represents the second expression.ExpressionAbstractTripleEncapsulatedExpression. getSecondExpression()Returns theExpressionthat represents the second expression.ExpressionAbstractSelectStatement. getSelectClause()Returns theAbstractSelectClauserepresenting the SELECT clause.ExpressionAbstractSelectClause. getSelectExpression()Returns theExpressionrepresenting the select items.ExpressionResultVariable. getSelectExpression()Returns theExpressionrepresenting the select expression.ExpressionHierarchicalQueryClause. getStartWithClause()Returns theExpressionrepresenting the START WITH clause.ExpressionUpdateItem. getStateFieldPathExpression()Returns theExpressionrepresenting the state field path expression, which is the property that should get updated.ExpressionLikeExpression. getStringExpression()Returns theExpressionthat represents the string expression.ExpressionRegexpExpression. getStringExpression()Returns theExpressionthat represents the string expression.ExpressionAbstractTripleEncapsulatedExpression. getThirdExpression()Returns theExpressionthat represents the first expression.ExpressionTrimExpression. getTrimCharacter()Returns the character used for trimming the string.ExpressionSelectStatement. getUnionClauses()Returns theExpressionrepresenting the UNION clauses.ExpressionJPQLExpression. getUnknownEndingStatement()Returns theExpressionthat may contain a portion of the query that could not be parsed, this happens when the query is either incomplete or malformed.ExpressionUpdateClause. getUpdateItems()Returns theExpressionrepresenting the single update item or the collection of update items.ExpressionBetweenExpression. getUpperBoundExpression()Returns theExpressionrepresenting the upper bound expression.ExpressionAbstractSelectStatement. getWhereClause()Returns theExpressionrepresenting the WHERE clause.ExpressionDeleteStatement. getWhereClause()Returns theExpressionrepresenting the WHERE clause.ExpressionUpdateStatement. getWhereClause()Returns theExpressionrepresenting the WHERE clause.Methods in org.eclipse.persistence.jpa.jpql.parser that return types with arguments of type Expression Modifier and Type Method Description ListIterable<Expression>AbstractExpression. children()ListIterable<Expression>Expression. children()Returns the children of thisExpression.ListIterable<Expression>AbstractExpression. orderedChildren()ListIterable<Expression>Expression. orderedChildren()Returns the list representing thisExpressionand its children.Methods in org.eclipse.persistence.jpa.jpql.parser with parameters of type Expression Modifier and Type Method Description voidQueryPosition. addPosition(Expression expression, int position)Adds the position of the cursor within the givenExpressionprotected intAbstractExpression. calculatePosition(Expression expression, int length)Calculates the position of the givenExpressionby calculating the length of what is before.JPQLQueryBNFAbstractConditionalClause. findQueryBNF(Expression expression)JPQLQueryBNFAbstractDoubleEncapsulatedExpression. findQueryBNF(Expression expression)JPQLQueryBNFAbstractExpression. findQueryBNF(Expression expression)JPQLQueryBNFAbstractFromClause. findQueryBNF(Expression expression)JPQLQueryBNFAbstractOrderByClause. findQueryBNF(Expression expression)JPQLQueryBNFAbstractPathExpression. findQueryBNF(Expression expression)JPQLQueryBNFAbstractSelectClause. findQueryBNF(Expression expression)JPQLQueryBNFAbstractSelectStatement. findQueryBNF(Expression expression)JPQLQueryBNFAbstractSingleEncapsulatedExpression. findQueryBNF(Expression expression)JPQLQueryBNFAbstractTripleEncapsulatedExpression. findQueryBNF(Expression expression)JPQLQueryBNFArithmeticExpression. findQueryBNF(Expression expression)JPQLQueryBNFArithmeticFactor. findQueryBNF(Expression expression)JPQLQueryBNFAsOfClause. findQueryBNF(Expression expression)JPQLQueryBNFBadExpression. findQueryBNF(Expression expression)JPQLQueryBNFBetweenExpression. findQueryBNF(Expression expression)JPQLQueryBNFCaseExpression. findQueryBNF(Expression expression)JPQLQueryBNFCollectionExpression. findQueryBNF(Expression expression)JPQLQueryBNFCollectionMemberDeclaration. findQueryBNF(Expression expression)JPQLQueryBNFCollectionMemberExpression. findQueryBNF(Expression expression)JPQLQueryBNFCompoundExpression. findQueryBNF(Expression expression)JPQLQueryBNFConnectByClause. findQueryBNF(Expression expression)JPQLQueryBNFConstructorExpression. findQueryBNF(Expression expression)JPQLQueryBNFDeleteClause. findQueryBNF(Expression expression)JPQLQueryBNFDeleteStatement. findQueryBNF(Expression expression)JPQLQueryBNFEmptyCollectionComparisonExpression. findQueryBNF(Expression expression)JPQLQueryBNFExpression. findQueryBNF(Expression expression)Retrieves theJPQLQueryBNFthat represents the fragment of thisExpressionthat was used when parsing the givenExpression.JPQLQueryBNFGroupByClause. findQueryBNF(Expression expression)JPQLQueryBNFHierarchicalQueryClause. findQueryBNF(Expression expression)JPQLQueryBNFIdentificationVariableDeclaration. findQueryBNF(Expression expression)JPQLQueryBNFInExpression. findQueryBNF(Expression expression)JPQLQueryBNFJoin. findQueryBNF(Expression expression)JPQLQueryBNFLikeExpression. findQueryBNF(Expression expression)JPQLQueryBNFNotExpression. findQueryBNF(Expression expression)JPQLQueryBNFNullComparisonExpression. findQueryBNF(Expression expression)JPQLQueryBNFNullExpression. findQueryBNF(Expression expression)JPQLQueryBNFOrderByItem. findQueryBNF(Expression expression)JPQLQueryBNFRangeVariableDeclaration. findQueryBNF(Expression expression)JPQLQueryBNFRegexpExpression. findQueryBNF(Expression expression)JPQLQueryBNFResultVariable. findQueryBNF(Expression expression)JPQLQueryBNFSelectStatement. findQueryBNF(Expression expression)JPQLQueryBNFSubExpression. findQueryBNF(Expression expression)JPQLQueryBNFTableVariableDeclaration. findQueryBNF(Expression expression)JPQLQueryBNFTreatExpression. findQueryBNF(Expression expression)JPQLQueryBNFUnionClause. findQueryBNF(Expression expression)JPQLQueryBNFUnknownExpression. findQueryBNF(Expression expression)JPQLQueryBNFUpdateClause. findQueryBNF(Expression expression)JPQLQueryBNFUpdateItem. findQueryBNF(Expression expression)JPQLQueryBNFUpdateStatement. findQueryBNF(Expression expression)JPQLQueryBNFWhenClause. findQueryBNF(Expression expression)intQueryPosition. getPosition(Expression expression)Returns the position of the cursor within the givenExpressionintCollectionExpression. indexOf(Expression expression)Retrieves the index of the givenExpression.booleanAbstractExpression. isAncestor(Expression expression)booleanExpression. isAncestor(Expression expression)Determines whether thisExpressionis a parent of the givenExpression.protected booleanAbstractConditionalClause. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanAbstractDoubleEncapsulatedExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanAbstractEncapsulatedExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanAbstractExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)Determines whether the parsing is complete based on what is left in the given text.protected booleanAbstractFromClause. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanAbstractTripleEncapsulatedExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanAndExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanArithmeticExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanArithmeticFactor. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanBadExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanBetweenExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanCaseExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanCastExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanCollectionMemberDeclaration. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanComparisonExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanConstructorExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanDivisionExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanExtractExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanIdentificationVariableDeclaration. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanInExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanJoin. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanLikeExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanLogicalExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanMultiplicationExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanNotExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanOnClause. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanOrderByItem. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanRangeVariableDeclaration. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanRegexpExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanSelectStatement. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanTableVariableDeclaration. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanTreatExpression. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanUnionClause. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanUpdateClause. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanUpdateItem. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanWhenClause. isParsingComplete(WordParser wordParser, String word, Expression expression)protected booleanWhereClause. isParsingComplete(WordParser wordParser, String word, Expression expression)voidQueryPosition. setExpression(Expression expression)Sets the deepest leaf where the cursor is located.protected voidAbstractTraverseChildrenVisitor. visit(Expression expression)protected voidAbstractTraverseParentVisitor. visit(Expression expression)protected voidAnonymousExpressionVisitor. visit(Expression expression)Blindly visit the givenExpression.protected voidExpressionVisitorWrapper. visit(Expression expression)Method parameters in org.eclipse.persistence.jpa.jpql.parser with type arguments of type Expression Modifier and Type Method Description protected voidAbstractConditionalClause. addChildrenTo(Collection<Expression> children)protected voidAbstractDoubleEncapsulatedExpression. addChildrenTo(Collection<Expression> children)protected voidAbstractExpression. addChildrenTo(Collection<Expression> children)Adds the children of thisAbstractExpressionto the given collection.protected voidAbstractFromClause. addChildrenTo(Collection<Expression> children)protected voidAbstractOrderByClause. addChildrenTo(Collection<Expression> children)protected voidAbstractPathExpression. addChildrenTo(Collection<Expression> children)protected voidAbstractSelectClause. addChildrenTo(Collection<Expression> children)protected voidAbstractSelectStatement. addChildrenTo(Collection<Expression> children)protected voidAbstractSingleEncapsulatedExpression. addChildrenTo(Collection<Expression> children)protected voidAbstractTripleEncapsulatedExpression. addChildrenTo(Collection<Expression> children)protected voidArithmeticFactor. addChildrenTo(Collection<Expression> children)protected voidAsOfClause. addChildrenTo(Collection<Expression> children)protected voidBadExpression. addChildrenTo(Collection<Expression> children)protected voidBetweenExpression. addChildrenTo(Collection<Expression> children)protected voidCaseExpression. addChildrenTo(Collection<Expression> children)protected voidCollectionExpression. addChildrenTo(Collection<Expression> children)protected voidCollectionMemberDeclaration. addChildrenTo(Collection<Expression> children)protected voidCollectionMemberExpression. addChildrenTo(Collection<Expression> children)protected voidCompoundExpression. addChildrenTo(Collection<Expression> children)protected voidConnectByClause. addChildrenTo(Collection<Expression> children)protected voidConstructorExpression. addChildrenTo(Collection<Expression> children)protected voidDeleteClause. addChildrenTo(Collection<Expression> children)protected voidDeleteStatement. addChildrenTo(Collection<Expression> children)protected voidEmptyCollectionComparisonExpression. addChildrenTo(Collection<Expression> children)protected voidGroupByClause. addChildrenTo(Collection<Expression> children)protected voidHierarchicalQueryClause. addChildrenTo(Collection<Expression> children)protected voidIdentificationVariableDeclaration. addChildrenTo(Collection<Expression> children)protected voidInExpression. addChildrenTo(Collection<Expression> children)protected voidJoin. addChildrenTo(Collection<Expression> children)protected voidJPQLExpression. addChildrenTo(Collection<Expression> children)protected voidLikeExpression. addChildrenTo(Collection<Expression> children)protected voidLocalDateTime. addChildrenTo(Collection<Expression> children)protected voidLocalExpression. addChildrenTo(Collection<Expression> children)protected voidNotExpression. addChildrenTo(Collection<Expression> children)protected voidNullComparisonExpression. addChildrenTo(Collection<Expression> children)protected voidOrderByItem. addChildrenTo(Collection<Expression> children)protected voidRangeVariableDeclaration. addChildrenTo(Collection<Expression> children)protected voidRegexpExpression. addChildrenTo(Collection<Expression> children)protected voidResultVariable. addChildrenTo(Collection<Expression> children)protected voidSelectStatement. addChildrenTo(Collection<Expression> children)protected voidTableVariableDeclaration. addChildrenTo(Collection<Expression> children)protected voidTreatExpression. addChildrenTo(Collection<Expression> children)protected voidUnionClause. addChildrenTo(Collection<Expression> children)protected voidUpdateClause. addChildrenTo(Collection<Expression> children)protected voidUpdateItem. addChildrenTo(Collection<Expression> children)protected voidUpdateStatement. addChildrenTo(Collection<Expression> children)protected voidWhenClause. addChildrenTo(Collection<Expression> children)protected voidAbstractConditionalClause. addOrderedChildrenTo(List<Expression> children)protected voidAbstractEncapsulatedExpression. addOrderedChildrenTo(List<Expression> children)protected voidAbstractExpression. addOrderedChildrenTo(List<Expression> children)Adds the children of thisAbstractExpressionto the given list.protected voidAbstractFromClause. addOrderedChildrenTo(List<Expression> children)protected voidAbstractOrderByClause. addOrderedChildrenTo(List<Expression> children)protected voidAbstractPathExpression. addOrderedChildrenTo(List<Expression> children)protected voidAbstractSchemaName. addOrderedChildrenTo(List<Expression> children)protected voidAbstractSelectClause. addOrderedChildrenTo(List<Expression> children)protected voidAbstractSelectStatement. addOrderedChildrenTo(List<Expression> children)protected voidArithmeticFactor. addOrderedChildrenTo(List<Expression> children)protected voidAsOfClause. addOrderedChildrenTo(List<Expression> children)protected voidBadExpression. addOrderedChildrenTo(List<Expression> children)protected voidBetweenExpression. addOrderedChildrenTo(List<Expression> children)protected voidCaseExpression. addOrderedChildrenTo(List<Expression> children)protected voidCollectionExpression. addOrderedChildrenTo(List<Expression> children)protected voidCollectionMemberDeclaration. addOrderedChildrenTo(List<Expression> children)protected voidCollectionMemberExpression. addOrderedChildrenTo(List<Expression> children)protected voidCompoundExpression. addOrderedChildrenTo(List<Expression> children)protected voidConnectByClause. addOrderedChildrenTo(List<Expression> children)protected voidConstructorExpression. addOrderedChildrenTo(List<Expression> children)protected voidDateTime. addOrderedChildrenTo(List<Expression> children)protected voidDeleteClause. addOrderedChildrenTo(List<Expression> children)protected voidDeleteStatement. addOrderedChildrenTo(List<Expression> children)protected voidEmptyCollectionComparisonExpression. addOrderedChildrenTo(List<Expression> children)protected voidEntityTypeLiteral. addOrderedChildrenTo(List<Expression> children)protected voidGroupByClause. addOrderedChildrenTo(List<Expression> children)protected voidHierarchicalQueryClause. addOrderedChildrenTo(List<Expression> children)protected voidIdentificationVariable. addOrderedChildrenTo(List<Expression> children)protected voidIdentificationVariableDeclaration. addOrderedChildrenTo(List<Expression> children)protected voidInExpression. addOrderedChildrenTo(List<Expression> children)protected voidInputParameter. addOrderedChildrenTo(List<Expression> children)protected voidJoin. addOrderedChildrenTo(List<Expression> children)protected voidJPQLExpression. addOrderedChildrenTo(List<Expression> children)protected voidKeywordExpression. addOrderedChildrenTo(List<Expression> children)protected voidLikeExpression. addOrderedChildrenTo(List<Expression> children)protected voidLocalDateTime. addOrderedChildrenTo(List<Expression> children)protected voidLocalExpression. addOrderedChildrenTo(List<Expression> children)protected voidNotExpression. addOrderedChildrenTo(List<Expression> children)protected voidNullComparisonExpression. addOrderedChildrenTo(List<Expression> children)protected voidNumericLiteral. addOrderedChildrenTo(List<Expression> children)protected voidOrderByItem. addOrderedChildrenTo(List<Expression> children)protected voidRangeVariableDeclaration. addOrderedChildrenTo(List<Expression> children)protected voidRegexpExpression. addOrderedChildrenTo(List<Expression> children)protected voidResultVariable. addOrderedChildrenTo(List<Expression> children)protected voidSelectStatement. addOrderedChildrenTo(List<Expression> children)protected voidStringLiteral. addOrderedChildrenTo(List<Expression> children)protected voidTableVariableDeclaration. addOrderedChildrenTo(List<Expression> children)protected voidUnionClause. addOrderedChildrenTo(List<Expression> children)protected voidUnknownExpression. addOrderedChildrenTo(List<Expression> children)protected voidUpdateClause. addOrderedChildrenTo(List<Expression> children)protected voidUpdateItem. addOrderedChildrenTo(List<Expression> children)protected voidUpdateStatement. addOrderedChildrenTo(List<Expression> children)protected voidWhenClause. addOrderedChildrenTo(List<Expression> children)protected voidAbstractDoubleEncapsulatedExpression. addOrderedEncapsulatedExpressionTo(List<Expression> children)protected abstract voidAbstractEncapsulatedExpression. addOrderedEncapsulatedExpressionTo(List<Expression> children)Adds theExpressionsrepresenting the encapsulatedExpression.protected voidAbstractSingleEncapsulatedExpression. addOrderedEncapsulatedExpressionTo(List<Expression> children)protected voidAbstractTripleEncapsulatedExpression. addOrderedEncapsulatedExpressionTo(List<Expression> children)protected voidAggregateFunction. addOrderedEncapsulatedExpressionTo(List<Expression> children)protected voidCastExpression. addOrderedEncapsulatedExpressionTo(List<Expression> children)protected voidExtractExpression. addOrderedEncapsulatedExpressionTo(List<Expression> children)protected voidFunctionExpression. addOrderedEncapsulatedExpressionTo(List<Expression> children)protected voidTreatExpression. addOrderedEncapsulatedExpressionTo(List<Expression> children)protected voidTrimExpression. addOrderedEncapsulatedExpressionTo(List<Expression> children)
-