Uses of Interface
org.eclipse.persistence.jpa.jpql.parser.Expression
Packages that use Expression
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.
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.
This package contains the 
StateObject classes that represents a JPQL query.- 
Uses of Expression in org.eclipse.persistence.jpa.jpqlFields in org.eclipse.persistence.jpa.jpql declared as ExpressionModifier and TypeFieldDescriptionprotected 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 ExpressionModifier and TypeFieldDescriptionprotected List<Expression> AbstractValidator.ChildrenCollectorVisitor.expressionsThe uniqueExpressionthat was visited or the children ofCollectionExpression.protected final Set<Expression> ParameterTypeVisitor.visitedExpressionsThis is used to prevent an infinite loop.Methods in org.eclipse.persistence.jpa.jpql that return ExpressionModifier and TypeMethodDescriptionJPQLQueryDeclaration.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.JPQLQueryDeclaration.getDeclarationExpression()Returns the declaration expression, which is either anIdentificationVariableDeclarationor aCollectionMemberDeclarationwhen part of a FROM clause, otherwise it's either theDeleteClauseor theUpdateClause.JPQLQueryProblem.getExpression()Returns the parsed tree representing the JPQL query.Methods in org.eclipse.persistence.jpa.jpql that return types with arguments of type ExpressionModifier and TypeMethodDescriptionprotected 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 ExpressionModifier and TypeMethodDescriptionprotected 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) SemanticValidatorHelper.getManagedType(Expression expression) Returns the managed type by resolving the givenExpression.protected StateFieldPathExpressionAbstractSemanticValidator.getStateFieldPathExpression(Expression expression) SemanticValidatorHelper.getType(Expression expression) Returns the type by resolving the givenExpression.SemanticValidatorHelper.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.SemanticValidatorHelper.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.parserClasses in org.eclipse.persistence.jpa.jpql.parser that implement ExpressionModifier and TypeClassDescriptionfinal classThe ABS function removes the minus sign from a specified argument and returns the absolute value, which is always a positive number or zero.classConditional expressions are composed of other conditional expressions, comparison operations, logical operations, path expressions that evaluate to boolean values, boolean literals, and boolean input parameters.classThisExpressiontakes care of parsing an expression that encapsulates two expressions separated by a comma.classThis expression handles parsing the identifier followed by an expression encapsulated within parenthesis.classThis is the abstract definition of all the parts used to create the tree hierarchy representing the parsed JPQL query.classThe FROM clause of a query defines the domain of the query by declaring identification variables.classAn ordering clause allows the objects or values that are returned by the query to be ordered.classAn identification variable followed by the navigation operator (.) and a state field or association field is a path expression.final classAn abstract schema name designates the abstract schema type over which the query ranges.classThe SELECT clause denotes the query result.classA query is an operation that retrieves data from one or more tables or views.classThis expression handles parsing a JPQL identifier followed by an expression encapsulated within parenthesis.classThisExpressiontakes care of parsing an expression that encapsulates three expressions separated by a comma.final classOne of the four binary operators.classIn the SELECT clause the result of a query may be the result of an aggregate function applied to a path expression.final classAn 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.final classThe AND logical operator chains multiple criteria together.classThis expression represents an arithmetic expression, which means the first and second expressions are aggregated with an arithmetic sign.final classThis expression simply adds a plus or minus sign to the arithmetic primary expression.final classAnAS 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.final classOne of the aggregate functions.final classThis wraps anotherExpressionthat was correctly parsed by it is located in an invalid location within the JPQL query.final classUsed in conditional expression to determine whether the result of an expression falls within an inclusive range of values.final classBNF: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 ENDfinal classThe CAST function cast value to a different type.final classA COALESCE expression returnsnullif all its arguments evaluate tonull, and the value of the first non-nullargument otherwise.final classACollectionExpressionwraps many expression which they are separated by spaces and/or commas.final classAn identification variable declared by a collection member declaration ranges over values of a collection obtained by navigation using a path expression.final classThis expression tests whether the designated value is a member of the collection specified by the collection-valued path expression.final classAcollection_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.final classOnly the values of like types are permitted to be compared.classA compound expression has a left and right expressions combined by an identifier.final classThe CONCAT function returns a string that is a concatenation of its arguments.final classThe CONNECT BY clause allows selecting rows in a hierarchical order using the hierarchical query clause.final classIn the SELECT clause a constructor may be used in the SELECT list to return one or more Java instances.final classOne of the aggregate functions.final classThis expression represents the database specific data type, which may include size and scale.final classThisExpressionrepresents a date or time.final classAn implementation of anExpressionthat wraps a string.final classThis is the delete clause of the delete statement.final classBulk delete operation apply to entities of a single entity class (together with its subclasses, if any).final classOne of the four binary operators.final classThis expression tests whether or not the collection designated by the collection-valued path expression is empty (i.e, has no elements).classThisExpressionrepresents an identification variable that maps aMapproperty, either the key, the value or aMap.Entry).final classThisExpressionwraps the name of an entity type.final classAn identification variable qualified by theENTRYoperator is a path expression.final classAn EXISTS expression is a predicate that istrueonly if the result of the subquery consists of one or more values and that isfalseotherwise.final classThe EXTRACT function extracts a date part from a date/time value.final classThe FROM clause of a query defines the domain of the query by declaring identification variables.final classThis expression adds support to call native database functions.final classThe GROUP BY construct enables the aggregation of values according to the properties of an entity class.final classThe HAVING construct enables conditions to be specified that further restrict the query result as restrictions upon the groups.final classIf a table contains hierarchical data, then rows can be selected in a hierarchical order using the hierarchical query clause.final classAn identification variable is a valid identifier declared in the FROM clause of a query.final classAn identification variable is a valid identifier declared in the FROM clause of a query.final classThe INDEX function returns an integer value corresponding to the position of its argument in an ordered list.final classThe state field path expression must have a string, numeric, or enum value.final classEither positional or named parameters may be used.final classA JOIN enables the fetching of an association as a side effect of the execution of a query.final classAJPQLExpressionis the root of the parsed tree representation of a JPQL query.final classAn identification variable qualified by theKEYoperator is a path expression.final classThe expression representing some keywords:TRUE,FALSEorNULL.final classThe LENGTH function returns the length of the string in characters as an integer.final classThe LIKE condition is used to specify a search for a pattern.classTheDATE | TIME | DATETIMEargument ofLOCALlocal_datetime_type expression.classTheLOCAL local_datetime_typeexpression.final classThe LOCATE function returns the position of a given string within a string, starting the search at a specified position.classThis expression represents a logical expression, which means the first and second expressions are aggregated with either AND or OR.final classThe LOWER function converts a string to lower case and it returns a string.classMath double argument functions expressions.static final classThePOWERfunction takes two numeric arguments and returns a double.static final classTheROUNDfunction takes numeric argument and an integer argument and returns a number of the same type as the first argument.classMath single argument functions expressions.static final classTheCEILINGfunction takes a numeric argument and return a number (integer, float, or double) of the same type as the argument.static final classTheEXPfunction takes a numeric argument and returns a double.static final classTheFLOORfunction takes a numeric argument and returns a number (integer, float, or double) of the same type as the argument.static final classTheLNfunction takes a numeric argument and returns a double.static final classTheSIGNfunction takes a numeric argument and returns an integer.final classOne of the aggregate functions.final classOne of the aggregate functions.final classThe modulo operation finds the remainder of division of one number by another.final classOne of the four binary operators.final classBNF:expression ::= NOT conditional_primaryfinal classA null comparison tests whether or not the single-valued path expression or input parameter is a NULL value.final classAnullExpressionis used instead of a truenull, which allows operations to be performed without doing anullcheck first.final classNULLIF returns the first expression if the two expressions are not equal.final classExact numeric literals support the use of Java integer literal syntax as well as SQL exact numeric literal syntax.final classStand-alone identification variables in the SELECT clause may optionally be qualified by the OBJECT operator.final classReturns an expression that allows a join ON clause to be defined.final classThe ORDER BY clause allows the objects or values that are returned by the query to be ordered.final classAn 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.final classIn a hierarchical query, if the rows of siblings of the same parent need to be ordered, then theORDER SIBLINGS BYclause should be used.final classThe OR logical operator chains multiple criteria together.final classRange variable declarations allow the developer to designate a "root" for objects which may not be reachable by navigation.final classThe REGEXP condition is used to specify a search for a pattern.final classA result variable may be used to name a select item in the query result.final classThe SELECT clause queries data from entities.final classASELECTquery is an operation that retrieves data from one or more tables or views.final classThe FROM clause of a query defines the domain of the query by declaring identification variables.final classThe SELECT statement queries data from entities.final classBNFLsubquery ::= simple_select_clause subquery_from_clause [where_clause] [groupby_clause] [having_clause]final classThe SIZE function returns an integer value, the number of elements of the collection.final classThe SQRT function takes a numeric argument and returns a double.final classASTART WITHclause is optional and specifies the root row(s) of the hierarchy.final classAsingle_valued_association_fieldis designated by the name of an association-field in a one-to-one or many-to-one relationship.final classA string literal is enclosed in single quotes.final classThis expression wraps a sub-expression within parenthesis.final classThe second and third arguments of the SUBSTRING function denote the starting position and length of the substring to be returned.final classOne of the four binary operators.final classOne of the aggregate functions.final classDefines a table expression.final classDefines a table expression.final classReturns an expression that allows to treat its base as if it were a subclass of the class returned by the base.final classThe TRIM function trims the specified character from a string.final classAn entity type expression can be used to restrict query polymorphism.final classThe UNION clause allows the results of two queries to be combined.final classThis expression contains a portion of the query that is unknown to the parser.final classThis is the update clause of the update statement.final classThenew_valuespecified for an update operation must be compatible in type with the field to which it is assigned.final classThe UPDATE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression.final classThe UPPER function converts a string to upper case and it returns a string.final classAn identification variable qualified by theVALUEoperator is a path expression.final classA WHEN predicate is used to calculate a condition and when it's true, its THEN will be executed.final classThe 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 ExpressionModifier and TypeMethodDescriptionprotected final ExpressionAbstractExpression.buildStringExpression(char value) Creates a newExpressionwrapping the given character value.protected final ExpressionAbstractExpression.buildStringExpression(String value) Creates a newExpressionwrapping the given string value.final ExpressionAbstractFromClause.getAsOfClause()Returns theExpressionrepresenting the AS OF clause.CaseExpression.getCaseOperand()Returns theExpressionthat represents the CASE operand.CollectionExpression.getChild(int index) Retrieves the childExpressionat the given position.CollectionMemberDeclaration.getCollectionValuedPathExpression()Returns theExpressionrepresenting the collection member, which is declared by an identification variable.CollectionMemberExpression.getCollectionValuedPathExpression()Returns theExpressionrepresenting the collection-valued path expression.TreatExpression.getCollectionValuedPathExpression()Returns theExpressionthat represents the collection-valued path expression.final ExpressionAbstractConditionalClause.getConditionalExpression()Returns the expression representing the composition of the conditional expressions.HierarchicalQueryClause.getConnectByClause()Returns theExpressionrepresenting the CONNECT BY clause.ConstructorExpression.getConstructorItems()Returns the constructor items aggregated into a single expression and separated by commas or a single expression.CastExpression.getDatabaseType()Returns the database type to cast to.LocalExpression.getDateType()Returns theExpressionrepresenting the expression with date type.final ExpressionAbstractFromClause.getDeclaration()Returns theExpressionthat represents the declaration of this clause.CollectionMemberExpression.getEntityExpression()Returns theExpressionrepresenting the entity expression.TreatExpression.getEntityType()Returns theExpressionthat represents the entity type that will be used to downcast the type of the elements in the collection.LikeExpression.getEscapeCharacter()Returns theExpressionthat represents the escape character, which is either a single character or an input parameter.final ExpressionAbstractSingleEncapsulatedExpression.getExpression()Returns theExpressionthat is encapsulated within parenthesis.ArithmeticFactor.getExpression()Returns theExpressionrepresenting the arithmetic primary.AsOfClause.getExpression()Returns theExpressionrepresenting the timestamp or change number.BadExpression.getExpression()Returns theExpressionthat was parsed but grammatically, it is not a valid location.BetweenExpression.getExpression()Returns theExpressionrepresenting the expression to be tested for a range of values.ConnectByClause.getExpression()Returns theExpressionrepresenting the relationship expression.EmptyCollectionComparisonExpression.getExpression()Returns theExpressionthat represents the collection-valued path expression if it was parsed.InExpression.getExpression()Returns theExpressionthat represents the state field path expression or type discriminator.JPQLExpression.getExpression(String actualQuery, int position) Returns the deepestExpressionfor the given position.NotExpression.getExpression()Returns theExpressionrepresenting the expression that is negated.NullComparisonExpression.getExpression()Returns the expression being tested for beingnull.OrderByItem.getExpression()Returns theExpressionthat represents the order by expression.QueryPosition.getExpression()Returns the childExpressionwhere the position of the cursor is.final ExpressionAbstractDoubleEncapsulatedExpression.getFirstExpression()Returns theExpressionthat represents the first expression.final ExpressionAbstractTripleEncapsulatedExpression.getFirstExpression()Returns theExpressionthat represents the first expression.final ExpressionAbstractSelectStatement.getFromClause()Returns theExpressionrepresenting the FROM clause.final ExpressionAbstractSelectStatement.getGroupByClause()Returns theExpressionrepresenting the GROUP BY clause.GroupByClause.getGroupByItems()Returns theExpressionthat represents the list of group by items if any was parsed.final ExpressionAbstractSelectStatement.getHavingClause()Returns theExpressionrepresenting the HAVING clause.final ExpressionAbstractFromClause.getHierarchicalQueryClause()Returns theExpressionrepresenting the hierarchical query clause.final 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.CollectionMemberDeclaration.getIdentificationVariable()Returns theExpressionrepresenting the identification variable, which maps the collection-valued path expression.Join.getIdentificationVariable()Returns theExpressionthat represents the identification variable.RangeVariableDeclaration.getIdentificationVariable()Returns theExpressionthat represents the identification variable.TableVariableDeclaration.getIdentificationVariable()Returns theExpressionthat represents the identification variable.InExpression.getInItems()Returns theExpressionthat represents the list if items.Join.getJoinAssociationPath()Returns theExpressionthat represents the join association path expression.IdentificationVariableDeclaration.getJoins()Returns the unique join (fetch join) or the list of joins (fetch joins) expression.final ExpressionCompoundExpression.getLeftExpression()Returns theExpressionthat represents the first expression, which is before the identifier.BetweenExpression.getLowerBoundExpression()Returns theExpressionrepresenting the lower bound expression.UpdateItem.getNewValue()Returns theExpressionrepresenting the new value, which is the new value of the property.Join.getOnClause()Returns theExpressionthat represents the ON clause if present.SelectStatement.getOrderByClause()Returns theExpressionrepresenting the ORDER BY clause.final ExpressionAbstractOrderByClause.getOrderByItems()Returns theExpressionrepresenting the list of items to order.HierarchicalQueryClause.getOrderSiblingsByClause()Returns theExpressionrepresenting the ORDER SIBLINGS BY clause.Expression.getParent()Returns the parent of thisExpression.LikeExpression.getPatternValue()Returns theExpressionthat represents the pattern value.RegexpExpression.getPatternValue()Returns theExpressionthat represents the pattern value.UnionClause.getQuery()Returns theExpressionrepresenting the unioned query.JPQLExpression.getQueryStatement()Returns theExpressionrepresenting the query, which is either a SELECT, a DELETE or an UPDATE clause.DeleteClause.getRangeVariableDeclaration()Returns theExpressionrepresenting the range variable declaration.IdentificationVariableDeclaration.getRangeVariableDeclaration()Returns the variable declaration, which is the abstract schema name and the identification variable.UpdateClause.getRangeVariableDeclaration()Returns theExpressionrepresenting the range variable declaration.ResultVariable.getResultVariable()Returns theExpressionrepresenting the result variable.final ExpressionCompoundExpression.getRightExpression()Returns theExpressionthat represents the second expression, which is after the identifier.RangeVariableDeclaration.getRootObject()Returns theExpressionthat represents the "root" object.final ExpressionAbstractDoubleEncapsulatedExpression.getSecondExpression()Returns theExpressionthat represents the second expression.final ExpressionAbstractTripleEncapsulatedExpression.getSecondExpression()Returns theExpressionthat represents the second expression.final ExpressionAbstractSelectStatement.getSelectClause()Returns theAbstractSelectClauserepresenting the SELECT clause.final ExpressionAbstractSelectClause.getSelectExpression()Returns theExpressionrepresenting the select items.ResultVariable.getSelectExpression()Returns theExpressionrepresenting the select expression.HierarchicalQueryClause.getStartWithClause()Returns theExpressionrepresenting the START WITH clause.UpdateItem.getStateFieldPathExpression()Returns theExpressionrepresenting the state field path expression, which is the property that should get updated.LikeExpression.getStringExpression()Returns theExpressionthat represents the string expression.RegexpExpression.getStringExpression()Returns theExpressionthat represents the string expression.final ExpressionAbstractTripleEncapsulatedExpression.getThirdExpression()Returns theExpressionthat represents the first expression.TrimExpression.getTrimCharacter()Returns the character used for trimming the string.SelectStatement.getUnionClauses()Returns theExpressionrepresenting the UNION clauses.JPQLExpression.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.UpdateClause.getUpdateItems()Returns theExpressionrepresenting the single update item or the collection of update items.BetweenExpression.getUpperBoundExpression()Returns theExpressionrepresenting the upper bound expression.final ExpressionAbstractSelectStatement.getWhereClause()Returns theExpressionrepresenting the WHERE clause.DeleteStatement.getWhereClause()Returns theExpressionrepresenting the WHERE clause.UpdateStatement.getWhereClause()Returns theExpressionrepresenting the WHERE clause.Methods in org.eclipse.persistence.jpa.jpql.parser that return types with arguments of type ExpressionModifier and TypeMethodDescriptionfinal ListIterable<Expression> AbstractExpression.children()Expression.children()Returns the children of thisExpression.final ListIterable<Expression> AbstractExpression.orderedChildren()Expression.orderedChildren()Returns the list representing thisExpressionand its children.Methods in org.eclipse.persistence.jpa.jpql.parser with parameters of type ExpressionModifier and TypeMethodDescriptionvoidQueryPosition.addPosition(Expression expression, int position) Adds the position of the cursor within the givenExpressionprotected final intAbstractExpression.calculatePosition(Expression expression, int length) Calculates the position of the givenExpressionby calculating the length of what is before.AbstractConditionalClause.findQueryBNF(Expression expression) AbstractDoubleEncapsulatedExpression.findQueryBNF(Expression expression) AbstractExpression.findQueryBNF(Expression expression) final JPQLQueryBNFAbstractFromClause.findQueryBNF(Expression expression) final JPQLQueryBNFAbstractOrderByClause.findQueryBNF(Expression expression) final JPQLQueryBNFAbstractPathExpression.findQueryBNF(Expression expression) AbstractSelectClause.findQueryBNF(Expression expression) AbstractSelectStatement.findQueryBNF(Expression expression) AbstractSingleEncapsulatedExpression.findQueryBNF(Expression expression) AbstractTripleEncapsulatedExpression.findQueryBNF(Expression expression) ArithmeticExpression.findQueryBNF(Expression expression) ArithmeticFactor.findQueryBNF(Expression expression) AsOfClause.findQueryBNF(Expression expression) BadExpression.findQueryBNF(Expression expression) BetweenExpression.findQueryBNF(Expression expression) CaseExpression.findQueryBNF(Expression expression) CollectionExpression.findQueryBNF(Expression expression) CollectionMemberDeclaration.findQueryBNF(Expression expression) CollectionMemberExpression.findQueryBNF(Expression expression) CompoundExpression.findQueryBNF(Expression expression) ConnectByClause.findQueryBNF(Expression expression) ConstructorExpression.findQueryBNF(Expression expression) DeleteClause.findQueryBNF(Expression expression) DeleteStatement.findQueryBNF(Expression expression) EmptyCollectionComparisonExpression.findQueryBNF(Expression expression) Expression.findQueryBNF(Expression expression) Retrieves theJPQLQueryBNFthat represents the fragment of thisExpressionthat was used when parsing the givenExpression.GroupByClause.findQueryBNF(Expression expression) HierarchicalQueryClause.findQueryBNF(Expression expression) IdentificationVariableDeclaration.findQueryBNF(Expression expression) InExpression.findQueryBNF(Expression expression) Join.findQueryBNF(Expression expression) LikeExpression.findQueryBNF(Expression expression) NotExpression.findQueryBNF(Expression expression) NullComparisonExpression.findQueryBNF(Expression expression) NullExpression.findQueryBNF(Expression expression) OrderByItem.findQueryBNF(Expression expression) RangeVariableDeclaration.findQueryBNF(Expression expression) RegexpExpression.findQueryBNF(Expression expression) ResultVariable.findQueryBNF(Expression expression) SelectStatement.findQueryBNF(Expression expression) SubExpression.findQueryBNF(Expression expression) TableVariableDeclaration.findQueryBNF(Expression expression) final JPQLQueryBNFTreatExpression.findQueryBNF(Expression expression) UnionClause.findQueryBNF(Expression expression) UnknownExpression.findQueryBNF(Expression expression) UpdateClause.findQueryBNF(Expression expression) UpdateItem.findQueryBNF(Expression expression) UpdateStatement.findQueryBNF(Expression expression) WhenClause.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 final 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 ExpressionModifier and TypeMethodDescriptionprotected final 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 final 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 final 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 final voidAbstractConditionalClause.addOrderedChildrenTo(List<Expression> children) protected final 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 final 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 final 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) 
- 
Uses of Expression in org.eclipse.persistence.jpa.jpql.toolsClasses in org.eclipse.persistence.jpa.jpql.tools with type parameters of type ExpressionModifier and TypeClassDescriptionprotected static classThis helper handles adding proposals within a conditional expression that might be parsed as a single expression or has a collection of expression, which means the fragment is either incomplete or invalid.protected static interfaceThis helper is used to determine how to add proposals within a collection of expressions.protected static interfaceThis helper helps to add JPQL identifiers for the clauses that make up a query statement and also chains the clauses within the query.Fields in org.eclipse.persistence.jpa.jpql.tools declared as ExpressionModifier and TypeFieldDescriptionprotected ExpressionAbstractContentAssistVisitor.FollowingInvalidExpressionVisitor.expressionTheExpressionused to determine if it follows an invalid fragment or not.protected ExpressionAbstractContentAssistVisitor.InvalidExpressionVisitor.expressionprotected ExpressionEclipseLinkContentAssistVisitor.TableExpressionVisitor.expressionTheExpressionbeing visited.protected ExpressionJPQLQueryContext.QueryExpressionVisitor.expressionTheExpressionthat is the beginning of a query.protected ExpressionAbstractContentAssistVisitor.EndingQueryPositionBuilder.invalidExpressionTheExpressioncontaining the invalid fragment.Fields in org.eclipse.persistence.jpa.jpql.tools with type parameters of type ExpressionModifier and TypeFieldDescriptionprotected Map<String, Filter<Expression>> AbstractContentAssistVisitor.identifierFiltersThis map contains theFilterthat is used to determine when an identifier is a valid proposal, some of them depends on the expression's type.protected static final Filter<Expression> AbstractContentAssistVisitor.INVALID_IDENTIFIER_FILTERThisFilteris used to say theExpressionis invalid without doing anything.protected Stack<Expression> AbstractContentAssistVisitor.lockedExpressionsUsed to prevent and infinite recursion when one of the visit method is virtually asking a child expression to be visited.protected static final Filter<Expression> AbstractContentAssistVisitor.VALID_IDENTIFIER_FILTERThisFilteris used to say theExpressionis valid without doing anything.Methods in org.eclipse.persistence.jpa.jpql.tools with type parameters of type ExpressionModifier and TypeMethodDescriptionprotected <T extends Expression>
 voidAbstractContentAssistVisitor.visitCollectionExpression(T expression, String identifier, AbstractContentAssistVisitor.CollectionExpressionHelper<T> helper) Adds the possible proposals for the givenexpressionbased on the location of the cursor and the content of the expression.protected <T extends Expression>
 voidAbstractContentAssistVisitor.visitStatement(T expression, AbstractContentAssistVisitor.StatementHelper<T> helper) Visits the givenAbstractSelectStatementand checks to see if the identifiers of the following clauses can be added a valid proposals.Methods in org.eclipse.persistence.jpa.jpql.tools that return ExpressionModifier and TypeMethodDescriptionJPQLQueryContext.getActualCurrentQuery()Returns the currentExpressionbeing manipulated, which is either the top-level query or a subquery.AbstractContentAssistVisitor.AbstractSelectClauseStatementHelper.getClause(AbstractSelectStatement expression) AbstractContentAssistVisitor.DeleteClauseStatementHelper.getClause(DeleteStatement expression) AbstractContentAssistVisitor.OrderByClauseStatementHelper.getClause(SelectStatement expression) Returns the clause being scanned by this helper.AbstractContentAssistVisitor.UpdateClauseStatementHelper.getClause(UpdateStatement expression) AbstractContentAssistVisitor.WhereClauseDeleteStatementHelper.getClause(DeleteStatement expression) AbstractContentAssistVisitor.WhereClauseUpdateStatementHelper.getClause(UpdateStatement expression) EclipseLinkContentAssistVisitor.UnionClauseStatementHelper.getClause(SelectStatement expression) JPQLQueryContext.getCurrentQuery()Returns the currentExpressionbeing manipulated, which is either the top-level query or a subquery.JPQLQueryContext.getQueryExpression(Expression expression) Retrieves theExpressionrepresenting the query statement (either the top-level queryJPQLExpressionor the subquerySimpleSelectStatement) owning the givenExpression.Methods in org.eclipse.persistence.jpa.jpql.tools that return types with arguments of type ExpressionModifier and TypeMethodDescriptionprotected Filter<Expression> AbstractContentAssistVisitor.buildCollectionCompoundTypeFilter()protected Filter<Expression> AbstractContentAssistVisitor.buildDifferentComparisonFilter()protected Filter<Expression> AbstractContentAssistVisitor.buildNonCollectionCompoundTypeFilter()protected Filter<Expression> Methods in org.eclipse.persistence.jpa.jpql.tools with parameters of type ExpressionModifier and TypeMethodDescriptionbooleanAbstractContentAssistVisitor.DifferentComparisonFilter.accept(Expression expression) protected abstract booleanAbstractContentAssistVisitor.IdentificationVariableType.add(AbstractContentAssistVisitor contentAssist, Declaration declaration, Expression expression) Adds the identification variables defined in the givenDeclaration.voidAbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.addAtTheEndOfChild(Expression expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) protected voidAbstractContentAssistVisitor.addComparisonIdentifiers(Expression expression) Adds the JPQL identifiers which correspond to the comparison operators as valid proposals.protected voidAbstractContentAssistVisitor.addCompoundIdentifier(String identifier, Expression expression, boolean hasIs, boolean hasNot) Adds the given JPQL identifier as a valid proposal if its role isIdentifierRole.COMPOUND_FUNCTIONand the beginning starts with the current word.protected voidAbstractContentAssistVisitor.addCompoundIdentifiers(String queryBNFId, Expression expression, boolean hasIs, boolean hasNot) Adds the JPQL identifiers that are registered with the givenJPQLQueryBNFas valid proposals if their role isIdentifierRole.COMPOUND_FUNCTIONand the beginning starts with the current word.protected voidAbstractContentAssistVisitor.addCompoundIdentifiers(JPQLQueryBNF queryBNF, Expression expression, boolean hasIs, boolean hasNot) Adds the JPQL identifiers that are registered with the givenJPQLQueryBNFas valid proposals if their role isIdentifierRole.COMPOUND_FUNCTIONand the beginning starts with the current word.protected voidAbstractContentAssistVisitor.addFunctionIdentifiers(Expression expression) Adds the JPQL identifiers for which their role isFUNCTIONby determining theJPQLQueryBNFthat represents the fragment for which the givenExpressionwas parsed.protected voidAbstractContentAssistVisitor.addIdentificationVariables(Expression expression, AbstractContentAssistVisitor.IdentificationVariableType type) Adds the possible identification variables as valid proposals but filter them based on the given type.voidAbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.addIdentifier(Expression expression, String identifier) protected voidAbstractContentAssistVisitor.addLeftIdentificationVariables(Expression expression) Adds the identification variables defined in the current query's FROM clause that are declared before the givenExpression.protected voidBasicRefactoringTool.AbstractRenamer.addTextEdit(Expression expression, int extraOffset, String oldValue, String newValue) Adds a newTextEditwith the given information.protected voidBasicRefactoringTool.AbstractRenamer.addTextEdit(Expression expression, String oldValue, String newValue) Adds a newTextEditwith the given information.voidAbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.addTheBeginningOfChild(Expression expression, CollectionExpression collectionExpression, int index, boolean hasComma) protected booleanAbstractContentAssistVisitor.areArithmeticSymbolsAppendable(Expression expression) Determines whether the givenExpressioncan be followed by an arithmetic operator.protected booleanAbstractContentAssistVisitor.areComparisonSymbolsAppendable(Expression expression) Determines whether the givenExpressioncan be followed by a comparison operator.protected booleanAbstractContentAssistVisitor.areLogicalSymbolsAppendable(Expression expression) Determines whether the givenExpressioncan be followed by a logical operator.protected QueryPositionAbstractContentAssistVisitor.buildEndingPositionFromInvalidExpression(Expression invalidExpression, Expression startingPointExpression, boolean[] virtualSpace) Creates a newQueryPositioncontaining the corrected positions starting at the givenExpressionand traversing the children at is always at the right side of the tree.protected JPQLQueryContextDefaultJPQLQueryContext.buildJPQLQueryContext(JPQLQueryContext currentContext, Expression currentQuery) protected JPQLQueryContextEclipseLinkJPQLQueryContext.buildJPQLQueryContext(JPQLQueryContext currentContext, Expression currentQuery) protected abstract JPQLQueryContextJPQLQueryContext.buildJPQLQueryContext(JPQLQueryContext currentContext, Expression currentQuery) AbstractContentAssistVisitor.buildMappingFilter(Expression expression) booleanAbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.canContinue(Expression expression, CollectionExpression collectionExpression, int index) protected ITypeAbstractContentAssistVisitor.getAcceptableType(Expression expression) Determines the rootITypethat any type should be assignable.protected CollectionExpressionAbstractContentAssistVisitor.getCollectionExpression(Expression expression) Casts the givenExpressionto aCollectionExpressionif it is actually an object of that type.JPQLQueryContext.getDeclarationResolver(Expression expression) Returns theDeclarationResolverof the current query's declaration.protected IdentificationVariableGenericSemanticValidatorHelper.getIdentificationVariable(Expression expression) GenericSemanticValidatorHelper.getManagedType(Expression expression) JPQLQueryContext.getMapping(Expression expression) Returns theIMappingfor the field represented by the givenExpression.JPQLQueryContext.getQueryExpression(Expression expression) Retrieves theExpressionrepresenting the query statement (either the top-level queryJPQLExpressionor the subquerySimpleSelectStatement) owning the givenExpression.JPQLQueryContext.getResolver(Expression expression) Creates or retrieved the cachedResolverfor the givenExpression.protected ObjectDefaultSemanticValidator.getType(Expression expression) GenericSemanticValidatorHelper.getType(Expression expression) JPQLQueryContext.getType(Expression expression) Returns theITypeof the givenExpression.GenericSemanticValidatorHelper.getTypeDeclaration(Expression expression) JPQLQueryContext.getTypeDeclaration(Expression expression) Returns theITypeDeclarationof the field handled by thisResolver.protected booleanAbstractContentAssistVisitor.hasClausesDefinedBetween(Expression expression, String afterIdentifier, String beforeIdentifier) protected booleanAbstractContentAssistVisitor.isAppendable(Expression expression, AbstractContentAssistVisitor.AppendableType appendableType) Determines whether a certain type of JPQL identifiers can be appended to the JPQL query based on the givenExpression.protected booleanAbstractContentAssistVisitor.isAppendableToCollection(Expression expression) Determines whetherprotected booleanDefaultSemanticValidator.isBooleanType(Expression expression) Determines whether the givenExpressionis of the correct type based on these rules: TheExpressionreturns a boolean value;protected booleanAbstractContentAssistVisitor.isClauseAppendable(Expression expression) Determines whether the identifiers identifying clauses can be appended to the JPQL query based on the givenExpression.protected booleanDefaultSemanticValidator.isComparisonEquivalentType(Expression expression1, Expression expression2) protected booleanAbstractContentAssistVisitor.isComplete(Expression expression) Determines whether the givenExpressionis grammatically complete.protected booleanAbstractContentAssistVisitor.isCompoundable(Expression expression) Determines whether the givenExpressioncan be used as the left side of a compound expression.protected booleanAbstractContentAssistVisitor.isEncapsulated(Expression expression) Determines whether the givenExpressionis being encapsulated or not.protected booleanDefaultSemanticValidator.isEquivalentBetweenType(Expression expression1, Expression expression2) protected booleanAbstractContentAssistVisitor.isFollowingInvalidExpression(Expression expression) Determines whether the givenExpressionis preceded by an invalid expression.protected booleanAbstractContentAssistVisitor.isInSubquery(Expression expression) Determines whether the givenExpressionis in a subquery or in the top-level query.protected booleanDefaultSemanticValidator.isIntegralType(Expression expression) Determines whether the givenExpressionis of the correct type based on these rules: TheExpression's type is an integral type (long or integer).protected booleanAbstractContentAssistVisitor.isInvalidExpression(Expression expression) Determines whether the givenExpressionrepresents an invalid fragment.protected booleanAbstractContentAssistVisitor.isLocked(Expression expression) Determines whether the givenExpressionhas been set has the lock to prevent an infinite recursion.protected booleanAbstractContentAssistVisitor.isNotExpression(Expression expression) Determines whether the givenExpressionrepresents the negated expression.protected booleanDefaultSemanticValidator.isNullValue(Expression expression) protected booleanDefaultSemanticValidator.isNumericType(Expression expression) Determines whether the givenExpressionis of the correct type based on these rules: TheExpressionreturns a numeric value;protected booleanDefaultSemanticValidator.isStringType(Expression expression) Determines whether the givenExpressionis of the correct type based on these rules: TheExpression's type is a string type.protected booleanAbstractContentAssistVisitor.isSubqueryAppendable(Expression expression) Determines whether the JPQL identifier starting a subquery (SELECT) can be appended based on the givenExpressionwhich is preceding the position of the cursor.protected booleanEclipseLinkContentAssistVisitor.isTableExpression(Expression expression) protected booleanAbstractContentAssistVisitor.isValid(Expression expression, String queryBNFId) Determines whether the givenExpressionpart is an expression of the given query BNF.protected booleanAbstractContentAssistVisitor.isValid(Expression expression, JPQLQueryBNF queryBNF) Determines whether the givenExpressionpart is an expression of the given query BNF.protected booleanDefaultSemanticValidator.isValid(Expression expression, Class<? extends DefaultSemanticValidator.TypeValidator> validatorClass) Determines whether the givenExpressionis of the correct type by using theDefaultSemanticValidator.TypeValidator.protected booleanAbstractContentAssistVisitor.isWithinInvalidExpression(Expression expression) Determines whether the givenExpressionis part of an invalid fragmentJPQLQueryContext.literal(Expression expression, LiteralType type) Retrieves the "literal" from the givenExpression.intAbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.maxCollectionSize(Expression expression) voidJPQLQueryContext.newSubqueryContext(Expression currentQuery) Changes the state of this context to use the given subquery.intAbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.preExpressionLength(Expression expression) voidAbstractContentAssistVisitor.EndingQueryPositionBuilder.prepare(Expression invalidExpression) Prepares this visitor before visiting anExpression.AbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.queryBNF(Expression expression, int index) GenericSemanticValidatorHelper.resolveMapping(Expression expression) protected voidJPQLQueryContext.store(JPQLQueryContext parent, Expression currentQuery) Stores the information contained in the given parent into this one.voidAbstractJPQLQueryHelper.validate(Expression expression, List<JPQLQueryProblem> problems) Validates the query by introspecting it grammatically and semantically.protected booleanDefaultSemanticValidator.validateBooleanType(Expression expression, String messageKey) Determines whether the givenExpressionis of the correct type based on these rules: TheExpressionreturns a boolean value; TheExpression's type is a boolean type.voidAbstractJPQLQueryHelper.validateGrammar(Expression expression, List<JPQLQueryProblem> problems) Validates the query by only introspecting it grammatically.protected booleanDefaultSemanticValidator.validateIntegralType(Expression expression, String queryBNF, String messageKey) Determines whether the givenExpressionis of the correct type based on these rules: TheExpressionreturns a integral value; TheExpression's type is an integral type (long or integer).protected booleanDefaultSemanticValidator.validateNumericType(Expression expression, String messageKey) Determines whether the givenExpressionis of the correct type based on these rules: TheExpressionreturns a numeric value; TheExpression's type is an numeric type.voidAbstractJPQLQueryHelper.validateSemantic(Expression expression, List<JPQLQueryProblem> problems) Validates the query by only introspecting it semantically.protected booleanDefaultSemanticValidator.validateStringType(Expression expression, String messageKey) Determines whether the givenExpressionis of the correct type based on these rules: TheExpressionreturns a String value; TheExpression's type is a String type.protected voidAbstractContentAssistVisitor.AppendableExpressionVisitor.visit(Expression expression) protected voidAbstractContentAssistVisitor.DifferentComparisonFilter.visit(Expression expression) protected voidAbstractContentAssistVisitor.EncapsulatedExpressionVisitor.visit(Expression expression) protected voidAbstractContentAssistVisitor.FollowingInvalidExpressionVisitor.visit(Expression expression) protected voidAbstractContentAssistVisitor.visit(Expression expression) protected voidAbstractContentAssistVisitor.VisitParentVisitor.visit(Expression expression) protected voidBasicRefactoringTool.ClassNameRenamer.visit(Expression expression, String value, int extraOffset) Visits the given and if its value is the same as the old class name or if the value represents an inner class of that old class name, then the givenStateObjectUpdaterwill be notified to replace the value.protected voidAbstractContentAssistVisitor.visitEndingExpression(Expression expression) protected voidAbstractContentAssistVisitor.visitInvalidExpression(Expression expression) Constructors in org.eclipse.persistence.jpa.jpql.tools with parameters of type ExpressionModifierConstructorDescriptionprotectedDefaultJPQLQueryContext(JPQLQueryContext parent, Expression currentQuery) Creates a new sub-DefaultJPQLQueryContext.protectedEclipseLinkJPQLQueryContext(JPQLQueryContext parent, Expression currentQuery) Creates a newEclipseLinkJPQLQueryContext.protectedJPQLQueryContext(JPQLQueryContext parent, Expression currentQuery) Creates a new sub-JPQLQueryContext.
- 
Uses of Expression in org.eclipse.persistence.jpa.jpql.tools.modelMethods in org.eclipse.persistence.jpa.jpql.tools.model with type parameters of type ExpressionModifier and TypeMethodDescriptionprotected <T extends Expression>
 List<T> BasicStateObjectBuilder.children(Expression expression) Methods in org.eclipse.persistence.jpa.jpql.tools.model with parameters of type ExpressionModifier and TypeMethodDescriptionprotected <T extends StateObject>
 List<T> BasicStateObjectBuilder.buildChildren(Expression expression) BasicStateObjectBuilder.AbstractRangeDeclarationBuilder.buildStateObject(S parent, Expression expression) BasicStateObjectBuilder.AbstractSelectStatementBuilder.buildStateObject(P parent, Expression expression) BasicStateObjectBuilder.CollectionMemberDeclarationBuilder.buildStateObject(AbstractFromClauseStateObject parent, Expression expression) BasicStateObjectBuilder.DeleteStatementBuilder.buildStateObject(JPQLQueryStateObject parent, Expression expression) BasicStateObjectBuilder.JoinBuilder.buildStateObject(AbstractIdentificationVariableDeclarationStateObject parent, Expression expression) BasicStateObjectBuilder.SelectItemBuilder.buildStateObject(SelectClauseStateObject parent, Expression expression) BasicStateObjectBuilder.UpdateStatementBuilder.buildStateObject(JPQLQueryStateObject parent, Expression expression) BasicStateObjectBuilder.WhenClauseBuilder.buildStateObject(CaseExpressionStateObject parent, Expression expression) IBuilder.buildStateObject(S parent, Expression expression) Creates theStateObjectrepresentation of the givenExpression.protected final StateObjectBasicStateObjectBuilder.buildStateObjectImp(Expression expression) Visits the givenExpressionand returned itsStateObject.protected <T extends Expression>
 List<T> BasicStateObjectBuilder.children(Expression expression) protected StringBasicStateObjectBuilder.literal(Expression expression, LiteralType type) Retrieves the "literal" from the givenExpression.protected booleanAbstractActualJPQLQueryFormatter.shouldOutput(Expression expression) protected voidBasicStateObjectBuilder.CollectionExpressionVisitor.visit(Expression expression) protected voidBasicStateObjectBuilder.SelectItemBuilder.visit(Expression expression) 
- 
Uses of Expression in org.eclipse.persistence.jpa.jpql.tools.model.queryMethods in org.eclipse.persistence.jpa.jpql.tools.model.query that return ExpressionModifier and TypeMethodDescriptionAbstractStateObject.getExpression()StateObject.getExpression()Returns the actual parsed object if thisStateObjectrepresentation of the JPQL query was created by parsing an existing JPQL query.Methods in org.eclipse.persistence.jpa.jpql.tools.model.query with parameters of type ExpressionModifier and TypeMethodDescriptionvoidAbstractStateObject.setExpression(Expression expression) Sets the actual parsed object if thisStateObjectrepresentation of the JPQL query is created by converting the parsed representation of the JPQL query.
- 
Uses of Expression in org.eclipse.persistence.jpa.jpql.tools.resolverFields in org.eclipse.persistence.jpa.jpql.tools.resolver declared as ExpressionModifier and TypeFieldDescriptionprotected ExpressionDeclaration.baseExpressionEither the range variable declaration if this is a range declaration otherwise the collection-valued path expression when this is a collection member declaration.protected ExpressionDeclaration.declarationExpressionThe declaration expression, which is either anIdentificationVariableDeclarationor aCollectionMemberDeclarationwhen part of a FROM clause, otherwise it's either theDeleteClauseor theUpdateClause.Methods in org.eclipse.persistence.jpa.jpql.tools.resolver that return ExpressionModifier and TypeMethodDescriptionDeclaration.getBaseExpression()Declaration.getDeclarationExpression()Methods in org.eclipse.persistence.jpa.jpql.tools.resolver with parameters of type ExpressionModifier and TypeMethodDescriptionprotected CollectionExpressionResolverBuilder.getCollectionExpression(Expression expression) Casts the givenExpressionto aCollectionExpressionif it is actually an object of that type.protected DeclarationResolverResolverBuilder.getDeclarationResolver(Expression expression) Returns theDeclarationResolverof the current query's declaration.voidDeclarationResolver.populate(Expression expression) Visits the current query (which is either the top-level query or a subquery) and gathers the information from the declaration clause.protected ResolverDeclarationResolver.resolveRootObject(Expression expression) Resolves the "root" object represented by the givenExpression.protected voidDeclarationResolver.RootObjectExpressionVisitor.visit(Expression expression) protected voidResolverBuilder.visitCollectionEquivalentExpression(Expression expression, Expression extraExpression) Visits the givenExpressionand creates aResolverthat will check the type for each of its children.protected StringDeclarationResolver.visitDeclaration(Expression expression, Expression identificationVariable)