Uses of Package
org.eclipse.persistence.jpa.jpql.parser
-
Packages that use org.eclipse.persistence.jpa.jpql.parser Package Description org.eclipse.persistence.jpa.jpql This package contains the Hermes features (except the parser itself): semantic and grammatical validations, content assist support, calculating the query result type or the possible type of an input parameter, refactoring tools.org.eclipse.persistence.jpa.jpql.parser This is the core of Hermes, this package contains the classes that can parse a JPQL query.org.eclipse.persistence.jpa.jpql.tools org.eclipse.persistence.jpa.jpql.tools.model The classes defined in this package define the state model API, a state model can be used to manually or programmatically create and edit a JPQL query.org.eclipse.persistence.jpa.jpql.tools.model.query This package contains theStateObjectclasses that represents a JPQL query.org.eclipse.persistence.jpa.jpql.tools.resolver -
Classes in org.eclipse.persistence.jpa.jpql.parser used by org.eclipse.persistence.jpa.jpql Class Description AbsExpression The ABS function removes the minus sign from a specified argument and returns the absolute value, which is always a positive number or zero.AbstractConditionalClause Conditional expressions are composed of other conditional expressions, comparison operations, logical operations, path expressions that evaluate to boolean values, boolean literals, and boolean input parameters.AbstractDoubleEncapsulatedExpression ThisExpressiontakes care of parsing an expression that encapsulates two expressions separated by a comma.AbstractEclipseLinkExpressionVisitor The abstract implementation ofEclipseLinkExpressionVisitor.AbstractEncapsulatedExpression This expression handles parsing the identifier followed by an expression encapsulated within parenthesis.AbstractExpressionVisitor The abstract definition ofExpressionVisitor, which implements all the methods but does nothing.AbstractFromClause The FROM clause of a query defines the domain of the query by declaring identification variables.AbstractPathExpression An identification variable followed by the navigation operator (.) and a state field or association field is a path expression.AbstractSchemaName An abstract schema name designates the abstract schema type over which the query ranges.AbstractSelectClause The SELECT clause denotes the query result.AbstractSelectStatement A query is an operation that retrieves data from one or more tables or views.AbstractSingleEncapsulatedExpression This expression handles parsing a JPQL identifier followed by an expression encapsulated within parenthesis.AbstractTraverseParentVisitor ThisExpressionVisitortraverses up the hierarchy.AbstractTripleEncapsulatedExpression ThisExpressiontakes care of parsing an expression that encapsulates three expressions separated by a comma.AdditionExpression One of the four binary operators.AggregateFunction In the SELECT clause the result of a query may be the result of an aggregate function applied to a path expression.AllOrAnyExpression An 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.AndExpression The AND logical operator chains multiple criteria together.AnonymousExpressionVisitor This visitor allows a subclass to simply overrideAnonymousExpressionVisitor.visit(Expression)and perform the same task for all visitedexpressions.ArithmeticExpression This expression represents an arithmetic expression, which means the first and second expressions are aggregated with an arithmetic sign.ArithmeticFactor This expression simply adds a plus or minus sign to the arithmetic primary expression.AsOfClause AnAS 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.AvgFunction One of the aggregate functions.BadExpression This wraps anotherExpressionthat was correctly parsed by it is located in an invalid location within the JPQL query.BetweenExpression Used in conditional expression to determine whether the result of an expression falls within an inclusive range of values.CaseExpression BNF: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 ENDCastExpression The CAST function cast value to a different type.CoalesceExpression A COALESCE expression returnsnullif all its arguments evaluate tonull, and the value of the first non-nullargument otherwise.CollectionExpression ACollectionExpressionwraps many expression which they are separated by spaces and/or commas.CollectionMemberDeclaration An identification variable declared by a collection member declaration ranges over values of a collection obtained by navigation using a path expression.CollectionMemberExpression This expression tests whether the designated value is a member of the collection specified by the collection-valued path expression.CollectionValuedPathExpression Acollection_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.ComparisonExpression Only the values of like types are permitted to be compared.CompoundExpression A compound expression has a left and right expressions combined by an identifier.ConcatExpression The CONCAT function returns a string that is a concatenation of its arguments.ConnectByClause The CONNECT BY clause allows selecting rows in a hierarchical order using the hierarchical query clause.ConstructorExpression In the SELECT clause a constructor may be used in the SELECT list to return one or more Java instances.CountFunction One of the aggregate functions.DatabaseType This expression represents the database specific data type, which may include size and scale.DateTime ThisExpressionrepresents a date or time.DeleteClause This is the delete clause of the delete statement.DeleteStatement Bulk delete operation apply to entities of a single entity class (together with its subclasses, if any).DivisionExpression One of the four binary operators.EclipseLinkExpressionVisitor TheExpressionVisitorthat adds support for the additional JPQL identifiers supported by EclipseLink that is not defined in the JPA function specification.EmptyCollectionComparisonExpression This expression tests whether or not the collection designated by the collection-valued path expression is empty (i.e, has no elements).EntityTypeLiteral ThisExpressionwraps the name of an entity type.EntryExpression An identification variable qualified by theENTRYoperator is a path expression.ExistsExpression An EXISTS expression is a predicate that istrueonly if the result of the subquery consists of one or more values and that isfalseotherwise.Expression This is the root interface of the parsed tree representation of a JPQL query.ExpressionRegistry This registry contains the necessary information used by Hermes parser.ExpressionVisitor This interface is used to traverse the JPQL parsed tree.ExtractExpression The EXTRACT function extracts a date part from a date/time value.FromClause The FROM clause of a query defines the domain of the query by declaring identification variables.FunctionExpression This expression adds support to call native database functions.GroupByClause The GROUP BY construct enables the aggregation of values according to the properties of an entity class.HavingClause The HAVING construct enables conditions to be specified that further restrict the query result as restrictions upon the groups.HierarchicalQueryClause If a table contains hierarchical data, then rows can be selected in a hierarchical order using the hierarchical query clause.IdentificationVariable An identification variable is a valid identifier declared in the FROM clause of a query.IdentificationVariableDeclaration An identification variable is a valid identifier declared in the FROM clause of a query.IndexExpression The INDEX function returns an integer value corresponding to the position of its argument in an ordered list.InExpression The state field path expression must have a string, numeric, or enum value.InputParameter Either positional or named parameters may be used.Join A JOIN enables the fetching of an association as a side effect of the execution of a query.JPQLExpression AJPQLExpressionis the root of the parsed tree representation of a JPQL query.JPQLGrammar A JPQL grammar defines how a JPQL query can be parsed.JPQLQueryBNF This defines a single Backus-Naur Form (BNF) of the JPQL grammar.KeyExpression An identification variable qualified by theKEYoperator is a path expression.KeywordExpression The expression representing some keywords:TRUE,FALSEorNULL.LengthExpression The LENGTH function returns the length of the string in characters as an integer.LikeExpression The LIKE condition is used to specify a search for a pattern.LocateExpression The LOCATE function returns the position of a given string within a string, starting the search at a specified position.LogicalExpression This expression represents a logical expression, which means the first and second expressions are aggregated with either AND or OR.LowerExpression The LOWER function converts a string to lower case and it returns a string.MaxFunction One of the aggregate functions.MinFunction One of the aggregate functions.ModExpression The modulo operation finds the remainder of division of one number by another.MultiplicationExpression One of the four binary operators.NotExpression BNF:expression ::= NOT conditional_primaryNullComparisonExpression A null comparison tests whether or not the single-valued path expression or input parameter is a NULL value.NullExpression AnullExpressionis used instead of a truenull, which allows operations to be performed without doing anullcheck first.NullIfExpression NULLIF returns the first expression if the two expressions are not equal.NumericLiteral Exact numeric literals support the use of Java integer literal syntax as well as SQL exact numeric literal syntax.ObjectExpression Stand-alone identification variables in the SELECT clause may optionally be qualified by the OBJECT operator.OnClause Returns an expression that allows a join ON clause to be defined.OrderByClause The ORDER BY clause allows the objects or values that are returned by the query to be ordered.OrderByItem An 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.OrderSiblingsByClause In a hierarchical query, if the rows of siblings of the same parent need to be ordered, then theORDER SIBLINGS BYclause should be used.OrExpression The OR logical operator chains multiple criteria together.RangeVariableDeclaration Range variable declarations allow the developer to designate a "root" for objects which may not be reachable by navigation.RegexpExpression The REGEXP condition is used to specify a search for a pattern.ResultVariable A result variable may be used to name a select item in the query result.SelectClause The SELECT clause queries data from entities.SelectStatement ASELECTquery is an operation that retrieves data from one or more tables or views.SimpleFromClause The FROM clause of a query defines the domain of the query by declaring identification variables.SimpleSelectClause The SELECT statement queries data from entities.SimpleSelectStatement BNFLsubquery ::= simple_select_clause subquery_from_clause [where_clause] [groupby_clause] [having_clause]SizeExpression The SIZE function returns an integer value, the number of elements of the collection.SqrtExpression The SQRT function takes a numeric argument and returns a double.StartWithClause ASTART WITHclause is optional and specifies the root row(s) of the hierarchy.StateFieldPathExpression Asingle_valued_association_fieldis designated by the name of an association-field in a one-to-one or many-to-one relationship.StringLiteral A string literal is enclosed in single quotes.SubExpression This expression wraps a sub-expression within parenthesis.SubstringExpression The second and third arguments of the SUBSTRING function denote the starting position and length of the substring to be returned.SubtractionExpression One of the four binary operators.SumFunction One of the aggregate functions.TableExpression Defines a table expression.TableVariableDeclaration Defines a table expression.TreatExpression Returns an expression that allows to treat its base as if it were a subclass of the class returned by the base.TrimExpression The TRIM function trims the specified character from a string.TypeExpression An entity type expression can be used to restrict query polymorphism.UnionClause The UNION clause allows the results of two queries to be combined.UnknownExpression This expression contains a portion of the query that is unknown to the parser.UpdateClause This is the update clause of the update statement.UpdateItem Thenew_valuespecified for an update operation must be compatible in type with the field to which it is assigned.UpdateStatement The UPDATE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression.UpperExpression The UPPER function converts a string to upper case and it returns a string.ValueExpression An identification variable qualified by theVALUEoperator is a path expression.WhenClause A WHEN predicate is used to calculate a condition and when it's true, its THEN will be executed.WhereClause The WHERE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression. -
Classes in org.eclipse.persistence.jpa.jpql.parser used by org.eclipse.persistence.jpa.jpql.parser Class Description AbsExpression The ABS function removes the minus sign from a specified argument and returns the absolute value, which is always a positive number or zero.AbstractConditionalClause Conditional expressions are composed of other conditional expressions, comparison operations, logical operations, path expressions that evaluate to boolean values, boolean literals, and boolean input parameters.AbstractDoubleEncapsulatedExpression ThisExpressiontakes care of parsing an expression that encapsulates two expressions separated by a comma.AbstractEncapsulatedExpression This expression handles parsing the identifier followed by an expression encapsulated within parenthesis.AbstractExpression This is the abstract definition of all the parts used to create the tree hierarchy representing the parsed JPQL query.AbstractExpressionVisitor The abstract definition ofExpressionVisitor, which implements all the methods but does nothing.AbstractFromClause The FROM clause of a query defines the domain of the query by declaring identification variables.AbstractJPQLGrammar The abstract definition of aJPQLGrammar.AbstractLiteralExpressionFactory This factory is responsible to return the right literal expression.AbstractOrderByClause An ordering clause allows the objects or values that are returned by the query to be ordered.AbstractPathExpression An identification variable followed by the navigation operator (.) and a state field or association field is a path expression.AbstractSchemaName An abstract schema name designates the abstract schema type over which the query ranges.AbstractSelectClause The SELECT clause denotes the query result.AbstractSelectStatement A query is an operation that retrieves data from one or more tables or views.AbstractSingleEncapsulatedExpression This expression handles parsing a JPQL identifier followed by an expression encapsulated within parenthesis.AbstractTraverseChildrenVisitor ThisExpressionVisitortraverses the entire hierarchy of the JPQL parsed tree by going down into each of the children of any givenExpression.AbstractTraverseParentVisitor ThisExpressionVisitortraverses up the hierarchy.AbstractTripleEncapsulatedExpression ThisExpressiontakes care of parsing an expression that encapsulates three expressions separated by a comma.AdditionExpression One of the four binary operators.AggregateFunction In the SELECT clause the result of a query may be the result of an aggregate function applied to a path expression.AllOrAnyExpression An 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.AndExpression The AND logical operator chains multiple criteria together.AnonymousExpressionVisitor This visitor allows a subclass to simply overrideAnonymousExpressionVisitor.visit(Expression)and perform the same task for all visitedexpressions.ArithmeticExpression This expression represents an arithmetic expression, which means the first and second expressions are aggregated with an arithmetic sign.ArithmeticFactor This expression simply adds a plus or minus sign to the arithmetic primary expression.AsOfClause AnAS 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.AvgFunction One of the aggregate functions.BadExpression This wraps anotherExpressionthat was correctly parsed by it is located in an invalid location within the JPQL query.BetweenExpression Used in conditional expression to determine whether the result of an expression falls within an inclusive range of values.CaseExpression BNF: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 ENDCastExpression The CAST function cast value to a different type.CoalesceExpression A COALESCE expression returnsnullif all its arguments evaluate tonull, and the value of the first non-nullargument otherwise.CollectionExpression ACollectionExpressionwraps many expression which they are separated by spaces and/or commas.CollectionMemberDeclaration An identification variable declared by a collection member declaration ranges over values of a collection obtained by navigation using a path expression.CollectionMemberExpression This expression tests whether the designated value is a member of the collection specified by the collection-valued path expression.CollectionValuedPathExpression Acollection_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.ComparisonExpression Only the values of like types are permitted to be compared.CompoundExpression A compound expression has a left and right expressions combined by an identifier.ConcatExpression The CONCAT function returns a string that is a concatenation of its arguments.ConnectByClause The CONNECT BY clause allows selecting rows in a hierarchical order using the hierarchical query clause.ConstructorExpression In the SELECT clause a constructor may be used in the SELECT list to return one or more Java instances.CountFunction One of the aggregate functions.DatabaseType This expression represents the database specific data type, which may include size and scale.DateTime ThisExpressionrepresents a date or time.DeleteClause This is the delete clause of the delete statement.DeleteStatement Bulk delete operation apply to entities of a single entity class (together with its subclasses, if any).DivisionExpression One of the four binary operators.EclipseLinkExpressionVisitor TheExpressionVisitorthat adds support for the additional JPQL identifiers supported by EclipseLink that is not defined in the JPA function specification.EmptyCollectionComparisonExpression This expression tests whether or not the collection designated by the collection-valued path expression is empty (i.e, has no elements).EncapsulatedIdentificationVariableExpression ThisExpressionrepresents an identification variable that maps aMapproperty, either the key, the value or aMap.Entry).EntityTypeLiteral ThisExpressionwraps the name of an entity type.EntryExpression An identification variable qualified by theENTRYoperator is a path expression.ExistsExpression An EXISTS expression is a predicate that istrueonly if the result of the subquery consists of one or more values and that isfalseotherwise.Expression This is the root interface of the parsed tree representation of a JPQL query.ExpressionFactory AnExpressionFactoryis responsible to parse a portion of JPQL query which starts with one of the factory's JPQL identifiers.ExpressionRegistry This registry contains the necessary information used by Hermes parser.ExpressionVisitor This interface is used to traverse the JPQL parsed tree.ExtractExpression The EXTRACT function extracts a date part from a date/time value.FromClause The FROM clause of a query defines the domain of the query by declaring identification variables.FunctionExpression This expression adds support to call native database functions.FunctionExpressionFactory.ParameterCount The number of parameters aFunctionExpressioncan have.GeneralIdentificationExpressionFactory ThisValueExpressionFactorycreates a general identification variable, which is either with the identifier KEY or VALUE and then checks the existence of a path expression.GroupByClause The GROUP BY construct enables the aggregation of values according to the properties of an entity class.HavingClause The HAVING construct enables conditions to be specified that further restrict the query result as restrictions upon the groups.HierarchicalQueryClause If a table contains hierarchical data, then rows can be selected in a hierarchical order using the hierarchical query clause.IdentificationVariable An identification variable is a valid identifier declared in the FROM clause of a query.IdentificationVariableDeclaration An identification variable is a valid identifier declared in the FROM clause of a query.IdentifierRole A role describes the purpose of the JPQL identifier.IndexExpression The INDEX function returns an integer value corresponding to the position of its argument in an ordered list.InExpression The state field path expression must have a string, numeric, or enum value.InputParameter Either positional or named parameters may be used.Join A JOIN enables the fetching of an association as a side effect of the execution of a query.JPQLExpression AJPQLExpressionis the root of the parsed tree representation of a JPQL query.JPQLGrammar A JPQL grammar defines how a JPQL query can be parsed.JPQLQueryBNF This defines a single Backus-Naur Form (BNF) of the JPQL grammar.KeyExpression An identification variable qualified by theKEYoperator is a path expression.KeywordExpression The expression representing some keywords:TRUE,FALSEorNULL.LengthExpression The LENGTH function returns the length of the string in characters as an integer.LikeExpression The LIKE condition is used to specify a search for a pattern.LocateExpression The LOCATE function returns the position of a given string within a string, starting the search at a specified position.LogicalExpression This expression represents a logical expression, which means the first and second expressions are aggregated with either AND or OR.LowerExpression The LOWER function converts a string to lower case and it returns a string.MaxFunction One of the aggregate functions.MinFunction One of the aggregate functions.ModExpression The modulo operation finds the remainder of division of one number by another.MultiplicationExpression One of the four binary operators.NotExpression BNF:expression ::= NOT conditional_primaryNullComparisonExpression A null comparison tests whether or not the single-valued path expression or input parameter is a NULL value.NullExpression AnullExpressionis used instead of a truenull, which allows operations to be performed without doing anullcheck first.NullIfExpression NULLIF returns the first expression if the two expressions are not equal.NumericLiteral Exact numeric literals support the use of Java integer literal syntax as well as SQL exact numeric literal syntax.ObjectExpression Stand-alone identification variables in the SELECT clause may optionally be qualified by the OBJECT operator.OnClause Returns an expression that allows a join ON clause to be defined.OrderByClause The ORDER BY clause allows the objects or values that are returned by the query to be ordered.OrderByItem An 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.OrderByItem.NullOrdering This enumeration lists all the possible choices for ordering nulls in an item.OrderByItem.Ordering This enumeration lists all the possible choices for ordering an item.OrderSiblingsByClause In a hierarchical query, if the rows of siblings of the same parent need to be ordered, then theORDER SIBLINGS BYclause should be used.OrExpression The OR logical operator chains multiple criteria together.QueryPosition This object contains the cursor position within the parsed tree and within each of theExpressionfrom the root to the deepest leaf.RangeVariableDeclaration Range variable declarations allow the developer to designate a "root" for objects which may not be reachable by navigation.RegexpExpression The REGEXP condition is used to specify a search for a pattern.ResultVariable A result variable may be used to name a select item in the query result.SelectClause The SELECT clause queries data from entities.SelectStatement ASELECTquery is an operation that retrieves data from one or more tables or views.SimpleFromClause The FROM clause of a query defines the domain of the query by declaring identification variables.SimpleSelectClause The SELECT statement queries data from entities.SimpleSelectStatement BNFLsubquery ::= simple_select_clause subquery_from_clause [where_clause] [groupby_clause] [having_clause]SizeExpression The SIZE function returns an integer value, the number of elements of the collection.SqrtExpression The SQRT function takes a numeric argument and returns a double.StartWithClause ASTART WITHclause is optional and specifies the root row(s) of the hierarchy.StateFieldPathExpression Asingle_valued_association_fieldis designated by the name of an association-field in a one-to-one or many-to-one relationship.StringLiteral A string literal is enclosed in single quotes.SubExpression This expression wraps a sub-expression within parenthesis.SubstringExpression The second and third arguments of the SUBSTRING function denote the starting position and length of the substring to be returned.SubtractionExpression One of the four binary operators.SumFunction One of the aggregate functions.TableExpression Defines a table expression.TableVariableDeclaration Defines a table expression.TreatExpression Returns an expression that allows to treat its base as if it were a subclass of the class returned by the base.TrimExpression The TRIM function trims the specified character from a string.TrimExpression.Specification The possible ways to trim the string.TypeExpression An entity type expression can be used to restrict query polymorphism.UnionClause The UNION clause allows the results of two queries to be combined.UnknownExpression This expression contains a portion of the query that is unknown to the parser.UpdateClause This is the update clause of the update statement.UpdateItem Thenew_valuespecified for an update operation must be compatible in type with the field to which it is assigned.UpdateStatement The UPDATE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression.UpperExpression The UPPER function converts a string to upper case and it returns a string.ValueExpression An identification variable qualified by theVALUEoperator is a path expression.WhenClause A WHEN predicate is used to calculate a condition and when it's true, its THEN will be executed.WhereClause The WHERE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression. -
Classes in org.eclipse.persistence.jpa.jpql.parser used by org.eclipse.persistence.jpa.jpql.tools Class Description AbsExpression The ABS function removes the minus sign from a specified argument and returns the absolute value, which is always a positive number or zero.AbstractConditionalClause Conditional expressions are composed of other conditional expressions, comparison operations, logical operations, path expressions that evaluate to boolean values, boolean literals, and boolean input parameters.AbstractDoubleEncapsulatedExpression ThisExpressiontakes care of parsing an expression that encapsulates two expressions separated by a comma.AbstractEclipseLinkExpressionVisitor The abstract implementation ofEclipseLinkExpressionVisitor.AbstractExpression This is the abstract definition of all the parts used to create the tree hierarchy representing the parsed JPQL query.AbstractExpressionVisitor The abstract definition ofExpressionVisitor, which implements all the methods but does nothing.AbstractFromClause The FROM clause of a query defines the domain of the query by declaring identification variables.AbstractOrderByClause An ordering clause allows the objects or values that are returned by the query to be ordered.AbstractPathExpression An identification variable followed by the navigation operator (.) and a state field or association field is a path expression.AbstractSchemaName An abstract schema name designates the abstract schema type over which the query ranges.AbstractSelectClause The SELECT clause denotes the query result.AbstractSelectStatement A query is an operation that retrieves data from one or more tables or views.AbstractSingleEncapsulatedExpression This expression handles parsing a JPQL identifier followed by an expression encapsulated within parenthesis.AbstractTraverseChildrenVisitor ThisExpressionVisitortraverses the entire hierarchy of the JPQL parsed tree by going down into each of the children of any givenExpression.AbstractTraverseParentVisitor ThisExpressionVisitortraverses up the hierarchy.AbstractTripleEncapsulatedExpression ThisExpressiontakes care of parsing an expression that encapsulates three expressions separated by a comma.AdditionExpression One of the four binary operators.AggregateFunction In the SELECT clause the result of a query may be the result of an aggregate function applied to a path expression.AllOrAnyExpression An 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.AndExpression The AND logical operator chains multiple criteria together.AnonymousExpressionVisitor This visitor allows a subclass to simply overrideAnonymousExpressionVisitor.visit(Expression)and perform the same task for all visitedexpressions.ArithmeticExpression This expression represents an arithmetic expression, which means the first and second expressions are aggregated with an arithmetic sign.ArithmeticFactor This expression simply adds a plus or minus sign to the arithmetic primary expression.AsOfClause AnAS 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.AvgFunction One of the aggregate functions.BadExpression This wraps anotherExpressionthat was correctly parsed by it is located in an invalid location within the JPQL query.BetweenExpression Used in conditional expression to determine whether the result of an expression falls within an inclusive range of values.CaseExpression BNF: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 ENDCastExpression The CAST function cast value to a different type.CoalesceExpression A COALESCE expression returnsnullif all its arguments evaluate tonull, and the value of the first non-nullargument otherwise.CollectionExpression ACollectionExpressionwraps many expression which they are separated by spaces and/or commas.CollectionMemberDeclaration An identification variable declared by a collection member declaration ranges over values of a collection obtained by navigation using a path expression.CollectionMemberExpression This expression tests whether the designated value is a member of the collection specified by the collection-valued path expression.CollectionValuedPathExpression Acollection_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.ComparisonExpression Only the values of like types are permitted to be compared.CompoundExpression A compound expression has a left and right expressions combined by an identifier.ConcatExpression The CONCAT function returns a string that is a concatenation of its arguments.ConnectByClause The CONNECT BY clause allows selecting rows in a hierarchical order using the hierarchical query clause.ConstructorExpression In the SELECT clause a constructor may be used in the SELECT list to return one or more Java instances.CountFunction One of the aggregate functions.DatabaseType This expression represents the database specific data type, which may include size and scale.DateTime ThisExpressionrepresents a date or time.DeleteClause This is the delete clause of the delete statement.DeleteStatement Bulk delete operation apply to entities of a single entity class (together with its subclasses, if any).DivisionExpression One of the four binary operators.EclipseLinkExpressionVisitor TheExpressionVisitorthat adds support for the additional JPQL identifiers supported by EclipseLink that is not defined in the JPA function specification.EmptyCollectionComparisonExpression This expression tests whether or not the collection designated by the collection-valued path expression is empty (i.e, has no elements).EncapsulatedIdentificationVariableExpression ThisExpressionrepresents an identification variable that maps aMapproperty, either the key, the value or aMap.Entry).EntityTypeLiteral ThisExpressionwraps the name of an entity type.EntryExpression An identification variable qualified by theENTRYoperator is a path expression.ExistsExpression An EXISTS expression is a predicate that istrueonly if the result of the subquery consists of one or more values and that isfalseotherwise.Expression This is the root interface of the parsed tree representation of a JPQL query.ExpressionFactory AnExpressionFactoryis responsible to parse a portion of JPQL query which starts with one of the factory's JPQL identifiers.ExpressionRegistry This registry contains the necessary information used by Hermes parser.ExpressionVisitor This interface is used to traverse the JPQL parsed tree.ExtractExpression The EXTRACT function extracts a date part from a date/time value.FromClause The FROM clause of a query defines the domain of the query by declaring identification variables.FunctionExpression This expression adds support to call native database functions.GroupByClause The GROUP BY construct enables the aggregation of values according to the properties of an entity class.HavingClause The HAVING construct enables conditions to be specified that further restrict the query result as restrictions upon the groups.HierarchicalQueryClause If a table contains hierarchical data, then rows can be selected in a hierarchical order using the hierarchical query clause.IdentificationVariable An identification variable is a valid identifier declared in the FROM clause of a query.IdentificationVariableDeclaration An identification variable is a valid identifier declared in the FROM clause of a query.IdentifierRole A role describes the purpose of the JPQL identifier.IndexExpression The INDEX function returns an integer value corresponding to the position of its argument in an ordered list.InExpression The state field path expression must have a string, numeric, or enum value.InputParameter Either positional or named parameters may be used.Join A JOIN enables the fetching of an association as a side effect of the execution of a query.JPQLExpression AJPQLExpressionis the root of the parsed tree representation of a JPQL query.JPQLGrammar A JPQL grammar defines how a JPQL query can be parsed.JPQLQueryBNF This defines a single Backus-Naur Form (BNF) of the JPQL grammar.KeyExpression An identification variable qualified by theKEYoperator is a path expression.KeywordExpression The expression representing some keywords:TRUE,FALSEorNULL.LengthExpression The LENGTH function returns the length of the string in characters as an integer.LikeExpression The LIKE condition is used to specify a search for a pattern.LocateExpression The LOCATE function returns the position of a given string within a string, starting the search at a specified position.LogicalExpression This expression represents a logical expression, which means the first and second expressions are aggregated with either AND or OR.LowerExpression The LOWER function converts a string to lower case and it returns a string.MaxFunction One of the aggregate functions.MinFunction One of the aggregate functions.ModExpression The modulo operation finds the remainder of division of one number by another.MultiplicationExpression One of the four binary operators.NotExpression BNF:expression ::= NOT conditional_primaryNullComparisonExpression A null comparison tests whether or not the single-valued path expression or input parameter is a NULL value.NullExpression AnullExpressionis used instead of a truenull, which allows operations to be performed without doing anullcheck first.NullIfExpression NULLIF returns the first expression if the two expressions are not equal.NumericLiteral Exact numeric literals support the use of Java integer literal syntax as well as SQL exact numeric literal syntax.ObjectExpression Stand-alone identification variables in the SELECT clause may optionally be qualified by the OBJECT operator.OnClause Returns an expression that allows a join ON clause to be defined.OrderByClause The ORDER BY clause allows the objects or values that are returned by the query to be ordered.OrderByItem An 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.OrderSiblingsByClause In a hierarchical query, if the rows of siblings of the same parent need to be ordered, then theORDER SIBLINGS BYclause should be used.OrExpression The OR logical operator chains multiple criteria together.QueryPosition This object contains the cursor position within the parsed tree and within each of theExpressionfrom the root to the deepest leaf.RangeVariableDeclaration Range variable declarations allow the developer to designate a "root" for objects which may not be reachable by navigation.RegexpExpression The REGEXP condition is used to specify a search for a pattern.ResultVariable A result variable may be used to name a select item in the query result.SelectClause The SELECT clause queries data from entities.SelectStatement ASELECTquery is an operation that retrieves data from one or more tables or views.SimpleFromClause The FROM clause of a query defines the domain of the query by declaring identification variables.SimpleSelectClause The SELECT statement queries data from entities.SimpleSelectStatement BNFLsubquery ::= simple_select_clause subquery_from_clause [where_clause] [groupby_clause] [having_clause]SizeExpression The SIZE function returns an integer value, the number of elements of the collection.SqrtExpression The SQRT function takes a numeric argument and returns a double.StartWithClause ASTART WITHclause is optional and specifies the root row(s) of the hierarchy.StateFieldPathExpression Asingle_valued_association_fieldis designated by the name of an association-field in a one-to-one or many-to-one relationship.StringLiteral A string literal is enclosed in single quotes.SubExpression This expression wraps a sub-expression within parenthesis.SubstringExpression The second and third arguments of the SUBSTRING function denote the starting position and length of the substring to be returned.SubtractionExpression One of the four binary operators.SumFunction One of the aggregate functions.TableExpression Defines a table expression.TableVariableDeclaration Defines a table expression.TreatExpression Returns an expression that allows to treat its base as if it were a subclass of the class returned by the base.TrimExpression The TRIM function trims the specified character from a string.TypeExpression An entity type expression can be used to restrict query polymorphism.UnionClause The UNION clause allows the results of two queries to be combined.UnknownExpression This expression contains a portion of the query that is unknown to the parser.UpdateClause This is the update clause of the update statement.UpdateItem Thenew_valuespecified for an update operation must be compatible in type with the field to which it is assigned.UpdateStatement The UPDATE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression.UpperExpression The UPPER function converts a string to upper case and it returns a string.ValueExpression An identification variable qualified by theVALUEoperator is a path expression.WhenClause A WHEN predicate is used to calculate a condition and when it's true, its THEN will be executed.WhereClause The WHERE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression. -
Classes in org.eclipse.persistence.jpa.jpql.parser used by org.eclipse.persistence.jpa.jpql.tools.model Class Description AbsExpression The ABS function removes the minus sign from a specified argument and returns the absolute value, which is always a positive number or zero.AbstractExpressionVisitor The abstract definition ofExpressionVisitor, which implements all the methods but does nothing.AbstractSchemaName An abstract schema name designates the abstract schema type over which the query ranges.AbstractTraverseChildrenVisitor ThisExpressionVisitortraverses the entire hierarchy of the JPQL parsed tree by going down into each of the children of any givenExpression.AdditionExpression One of the four binary operators.AllOrAnyExpression An 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.AndExpression The AND logical operator chains multiple criteria together.AnonymousExpressionVisitor This visitor allows a subclass to simply overrideAnonymousExpressionVisitor.visit(Expression)and perform the same task for all visitedexpressions.ArithmeticFactor This expression simply adds a plus or minus sign to the arithmetic primary expression.AsOfClause AnAS 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.AvgFunction One of the aggregate functions.BadExpression This wraps anotherExpressionthat was correctly parsed by it is located in an invalid location within the JPQL query.BetweenExpression Used in conditional expression to determine whether the result of an expression falls within an inclusive range of values.CaseExpression BNF: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 ENDCastExpression The CAST function cast value to a different type.CoalesceExpression A COALESCE expression returnsnullif all its arguments evaluate tonull, and the value of the first non-nullargument otherwise.CollectionExpression ACollectionExpressionwraps many expression which they are separated by spaces and/or commas.CollectionMemberDeclaration An identification variable declared by a collection member declaration ranges over values of a collection obtained by navigation using a path expression.CollectionMemberExpression This expression tests whether the designated value is a member of the collection specified by the collection-valued path expression.CollectionValuedPathExpression Acollection_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.ComparisonExpression Only the values of like types are permitted to be compared.ConcatExpression The CONCAT function returns a string that is a concatenation of its arguments.ConnectByClause The CONNECT BY clause allows selecting rows in a hierarchical order using the hierarchical query clause.ConstructorExpression In the SELECT clause a constructor may be used in the SELECT list to return one or more Java instances.CountFunction One of the aggregate functions.DatabaseType This expression represents the database specific data type, which may include size and scale.DateTime ThisExpressionrepresents a date or time.DeleteClause This is the delete clause of the delete statement.DeleteStatement Bulk delete operation apply to entities of a single entity class (together with its subclasses, if any).DivisionExpression One of the four binary operators.EclipseLinkExpressionVisitor TheExpressionVisitorthat adds support for the additional JPQL identifiers supported by EclipseLink that is not defined in the JPA function specification.EmptyCollectionComparisonExpression This expression tests whether or not the collection designated by the collection-valued path expression is empty (i.e, has no elements).EntityTypeLiteral ThisExpressionwraps the name of an entity type.EntryExpression An identification variable qualified by theENTRYoperator is a path expression.ExistsExpression An EXISTS expression is a predicate that istrueonly if the result of the subquery consists of one or more values and that isfalseotherwise.Expression This is the root interface of the parsed tree representation of a JPQL query.ExpressionVisitor This interface is used to traverse the JPQL parsed tree.ExtractExpression The EXTRACT function extracts a date part from a date/time value.FromClause The FROM clause of a query defines the domain of the query by declaring identification variables.FunctionExpression This expression adds support to call native database functions.GroupByClause The GROUP BY construct enables the aggregation of values according to the properties of an entity class.HavingClause The HAVING construct enables conditions to be specified that further restrict the query result as restrictions upon the groups.HierarchicalQueryClause If a table contains hierarchical data, then rows can be selected in a hierarchical order using the hierarchical query clause.IdentificationVariable An identification variable is a valid identifier declared in the FROM clause of a query.IdentificationVariableDeclaration An identification variable is a valid identifier declared in the FROM clause of a query.IndexExpression The INDEX function returns an integer value corresponding to the position of its argument in an ordered list.InExpression The state field path expression must have a string, numeric, or enum value.InputParameter Either positional or named parameters may be used.Join A JOIN enables the fetching of an association as a side effect of the execution of a query.JPQLExpression AJPQLExpressionis the root of the parsed tree representation of a JPQL query.JPQLGrammar A JPQL grammar defines how a JPQL query can be parsed.KeyExpression An identification variable qualified by theKEYoperator is a path expression.KeywordExpression The expression representing some keywords:TRUE,FALSEorNULL.LengthExpression The LENGTH function returns the length of the string in characters as an integer.LikeExpression The LIKE condition is used to specify a search for a pattern.LocateExpression The LOCATE function returns the position of a given string within a string, starting the search at a specified position.LowerExpression The LOWER function converts a string to lower case and it returns a string.MaxFunction One of the aggregate functions.MinFunction One of the aggregate functions.ModExpression The modulo operation finds the remainder of division of one number by another.MultiplicationExpression One of the four binary operators.NotExpression BNF:expression ::= NOT conditional_primaryNullComparisonExpression A null comparison tests whether or not the single-valued path expression or input parameter is a NULL value.NullExpression AnullExpressionis used instead of a truenull, which allows operations to be performed without doing anullcheck first.NullIfExpression NULLIF returns the first expression if the two expressions are not equal.NumericLiteral Exact numeric literals support the use of Java integer literal syntax as well as SQL exact numeric literal syntax.ObjectExpression Stand-alone identification variables in the SELECT clause may optionally be qualified by the OBJECT operator.OnClause Returns an expression that allows a join ON clause to be defined.OrderByClause The ORDER BY clause allows the objects or values that are returned by the query to be ordered.OrderByItem An 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.OrderSiblingsByClause In a hierarchical query, if the rows of siblings of the same parent need to be ordered, then theORDER SIBLINGS BYclause should be used.OrExpression The OR logical operator chains multiple criteria together.RangeVariableDeclaration Range variable declarations allow the developer to designate a "root" for objects which may not be reachable by navigation.RegexpExpression The REGEXP condition is used to specify a search for a pattern.ResultVariable A result variable may be used to name a select item in the query result.SelectClause The SELECT clause queries data from entities.SelectStatement ASELECTquery is an operation that retrieves data from one or more tables or views.SimpleFromClause The FROM clause of a query defines the domain of the query by declaring identification variables.SimpleSelectClause The SELECT statement queries data from entities.SimpleSelectStatement BNFLsubquery ::= simple_select_clause subquery_from_clause [where_clause] [groupby_clause] [having_clause]SizeExpression The SIZE function returns an integer value, the number of elements of the collection.SqrtExpression The SQRT function takes a numeric argument and returns a double.StartWithClause ASTART WITHclause is optional and specifies the root row(s) of the hierarchy.StateFieldPathExpression Asingle_valued_association_fieldis designated by the name of an association-field in a one-to-one or many-to-one relationship.StringLiteral A string literal is enclosed in single quotes.SubExpression This expression wraps a sub-expression within parenthesis.SubstringExpression The second and third arguments of the SUBSTRING function denote the starting position and length of the substring to be returned.SubtractionExpression One of the four binary operators.SumFunction One of the aggregate functions.TableExpression Defines a table expression.TableVariableDeclaration Defines a table expression.TreatExpression Returns an expression that allows to treat its base as if it were a subclass of the class returned by the base.TrimExpression The TRIM function trims the specified character from a string.TrimExpression.Specification The possible ways to trim the string.TypeExpression An entity type expression can be used to restrict query polymorphism.UnionClause The UNION clause allows the results of two queries to be combined.UnknownExpression This expression contains a portion of the query that is unknown to the parser.UpdateClause This is the update clause of the update statement.UpdateItem Thenew_valuespecified for an update operation must be compatible in type with the field to which it is assigned.UpdateStatement The UPDATE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression.UpperExpression The UPPER function converts a string to upper case and it returns a string.ValueExpression An identification variable qualified by theVALUEoperator is a path expression.WhenClause A WHEN predicate is used to calculate a condition and when it's true, its THEN will be executed.WhereClause The WHERE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression. -
Classes in org.eclipse.persistence.jpa.jpql.parser used by org.eclipse.persistence.jpa.jpql.tools.model.query Class Description AbsExpression The ABS function removes the minus sign from a specified argument and returns the absolute value, which is always a positive number or zero.AbstractDoubleEncapsulatedExpression ThisExpressiontakes care of parsing an expression that encapsulates two expressions separated by a comma.AbstractEncapsulatedExpression This expression handles parsing the identifier followed by an expression encapsulated within parenthesis.AbstractFromClause The FROM clause of a query defines the domain of the query by declaring identification variables.AbstractPathExpression An identification variable followed by the navigation operator (.) and a state field or association field is a path expression.AbstractSchemaName An abstract schema name designates the abstract schema type over which the query ranges.AbstractSelectClause The SELECT clause denotes the query result.AbstractSelectStatement A query is an operation that retrieves data from one or more tables or views.AbstractSingleEncapsulatedExpression This expression handles parsing a JPQL identifier followed by an expression encapsulated within parenthesis.AbstractTripleEncapsulatedExpression ThisExpressiontakes care of parsing an expression that encapsulates three expressions separated by a comma.AdditionExpression One of the four binary operators.AggregateFunction In the SELECT clause the result of a query may be the result of an aggregate function applied to a path expression.AllOrAnyExpression An 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.AndExpression The AND logical operator chains multiple criteria together.ArithmeticExpression This expression represents an arithmetic expression, which means the first and second expressions are aggregated with an arithmetic sign.ArithmeticFactor This expression simply adds a plus or minus sign to the arithmetic primary expression.AvgFunction One of the aggregate functions.BadExpression This wraps anotherExpressionthat was correctly parsed by it is located in an invalid location within the JPQL query.BetweenExpression Used in conditional expression to determine whether the result of an expression falls within an inclusive range of values.CaseExpression BNF: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 ENDCoalesceExpression A COALESCE expression returnsnullif all its arguments evaluate tonull, and the value of the first non-nullargument otherwise.CollectionExpression ACollectionExpressionwraps many expression which they are separated by spaces and/or commas.CollectionMemberDeclaration An identification variable declared by a collection member declaration ranges over values of a collection obtained by navigation using a path expression.CollectionMemberExpression This expression tests whether the designated value is a member of the collection specified by the collection-valued path expression.CollectionValuedPathExpression Acollection_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.ComparisonExpression Only the values of like types are permitted to be compared.CompoundExpression A compound expression has a left and right expressions combined by an identifier.ConcatExpression The CONCAT function returns a string that is a concatenation of its arguments.ConstructorExpression In the SELECT clause a constructor may be used in the SELECT list to return one or more Java instances.CountFunction One of the aggregate functions.DateTime ThisExpressionrepresents a date or time.DeleteClause This is the delete clause of the delete statement.DeleteStatement Bulk delete operation apply to entities of a single entity class (together with its subclasses, if any).DivisionExpression One of the four binary operators.EmptyCollectionComparisonExpression This expression tests whether or not the collection designated by the collection-valued path expression is empty (i.e, has no elements).EncapsulatedIdentificationVariableExpression ThisExpressionrepresents an identification variable that maps aMapproperty, either the key, the value or aMap.Entry).EntityTypeLiteral ThisExpressionwraps the name of an entity type.EntryExpression An identification variable qualified by theENTRYoperator is a path expression.ExistsExpression An EXISTS expression is a predicate that istrueonly if the result of the subquery consists of one or more values and that isfalseotherwise.Expression This is the root interface of the parsed tree representation of a JPQL query.FromClause The FROM clause of a query defines the domain of the query by declaring identification variables.FunctionExpression This expression adds support to call native database functions.GroupByClause The GROUP BY construct enables the aggregation of values according to the properties of an entity class.HavingClause The HAVING construct enables conditions to be specified that further restrict the query result as restrictions upon the groups.IdentificationVariable An identification variable is a valid identifier declared in the FROM clause of a query.IdentificationVariableDeclaration An identification variable is a valid identifier declared in the FROM clause of a query.IndexExpression The INDEX function returns an integer value corresponding to the position of its argument in an ordered list.InExpression The state field path expression must have a string, numeric, or enum value.InputParameter Either positional or named parameters may be used.Join A JOIN enables the fetching of an association as a side effect of the execution of a query.JPQLExpression AJPQLExpressionis the root of the parsed tree representation of a JPQL query.JPQLGrammar A JPQL grammar defines how a JPQL query can be parsed.KeyExpression An identification variable qualified by theKEYoperator is a path expression.KeywordExpression The expression representing some keywords:TRUE,FALSEorNULL.LengthExpression The LENGTH function returns the length of the string in characters as an integer.LikeExpression The LIKE condition is used to specify a search for a pattern.LocateExpression The LOCATE function returns the position of a given string within a string, starting the search at a specified position.LogicalExpression This expression represents a logical expression, which means the first and second expressions are aggregated with either AND or OR.LowerExpression The LOWER function converts a string to lower case and it returns a string.MaxFunction One of the aggregate functions.MinFunction One of the aggregate functions.ModExpression The modulo operation finds the remainder of division of one number by another.MultiplicationExpression One of the four binary operators.NotExpression BNF:expression ::= NOT conditional_primaryNullComparisonExpression A null comparison tests whether or not the single-valued path expression or input parameter is a NULL value.NullIfExpression NULLIF returns the first expression if the two expressions are not equal.NumericLiteral Exact numeric literals support the use of Java integer literal syntax as well as SQL exact numeric literal syntax.ObjectExpression Stand-alone identification variables in the SELECT clause may optionally be qualified by the OBJECT operator.OrderByClause The ORDER BY clause allows the objects or values that are returned by the query to be ordered.OrderByItem An 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.OrderByItem.Ordering This enumeration lists all the possible choices for ordering an item.OrExpression The OR logical operator chains multiple criteria together.RangeVariableDeclaration Range variable declarations allow the developer to designate a "root" for objects which may not be reachable by navigation.ResultVariable A result variable may be used to name a select item in the query result.SelectClause The SELECT clause queries data from entities.SelectStatement ASELECTquery is an operation that retrieves data from one or more tables or views.SimpleFromClause The FROM clause of a query defines the domain of the query by declaring identification variables.SimpleSelectClause The SELECT statement queries data from entities.SimpleSelectStatement BNFLsubquery ::= simple_select_clause subquery_from_clause [where_clause] [groupby_clause] [having_clause]SizeExpression The SIZE function returns an integer value, the number of elements of the collection.SqrtExpression The SQRT function takes a numeric argument and returns a double.StateFieldPathExpression Asingle_valued_association_fieldis designated by the name of an association-field in a one-to-one or many-to-one relationship.StringLiteral A string literal is enclosed in single quotes.SubExpression This expression wraps a sub-expression within parenthesis.SubstringExpression The second and third arguments of the SUBSTRING function denote the starting position and length of the substring to be returned.SubtractionExpression One of the four binary operators.SumFunction One of the aggregate functions.TreatExpression Returns an expression that allows to treat its base as if it were a subclass of the class returned by the base.TrimExpression The TRIM function trims the specified character from a string.TrimExpression.Specification The possible ways to trim the string.TypeExpression An entity type expression can be used to restrict query polymorphism.UnknownExpression This expression contains a portion of the query that is unknown to the parser.UpdateClause This is the update clause of the update statement.UpdateItem Thenew_valuespecified for an update operation must be compatible in type with the field to which it is assigned.UpdateStatement The UPDATE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression.UpperExpression The UPPER function converts a string to upper case and it returns a string.ValueExpression An identification variable qualified by theVALUEoperator is a path expression.WhenClause A WHEN predicate is used to calculate a condition and when it's true, its THEN will be executed.WhereClause The WHERE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression. -
Classes in org.eclipse.persistence.jpa.jpql.parser used by org.eclipse.persistence.jpa.jpql.tools.resolver Class Description AbsExpression The ABS function removes the minus sign from a specified argument and returns the absolute value, which is always a positive number or zero.AbstractEclipseLinkExpressionVisitor The abstract implementation ofEclipseLinkExpressionVisitor.AbstractExpressionVisitor The abstract definition ofExpressionVisitor, which implements all the methods but does nothing.AbstractPathExpression An identification variable followed by the navigation operator (.) and a state field or association field is a path expression.AbstractSchemaName An abstract schema name designates the abstract schema type over which the query ranges.AdditionExpression One of the four binary operators.AllOrAnyExpression An 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.AndExpression The AND logical operator chains multiple criteria together.AnonymousExpressionVisitor This visitor allows a subclass to simply overrideAnonymousExpressionVisitor.visit(Expression)and perform the same task for all visitedexpressions.ArithmeticExpression This expression represents an arithmetic expression, which means the first and second expressions are aggregated with an arithmetic sign.ArithmeticFactor This expression simply adds a plus or minus sign to the arithmetic primary expression.AvgFunction One of the aggregate functions.BadExpression This wraps anotherExpressionthat was correctly parsed by it is located in an invalid location within the JPQL query.BetweenExpression Used in conditional expression to determine whether the result of an expression falls within an inclusive range of values.CaseExpression BNF: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 ENDCoalesceExpression A COALESCE expression returnsnullif all its arguments evaluate tonull, and the value of the first non-nullargument otherwise.CollectionExpression ACollectionExpressionwraps many expression which they are separated by spaces and/or commas.CollectionMemberDeclaration An identification variable declared by a collection member declaration ranges over values of a collection obtained by navigation using a path expression.CollectionMemberExpression This expression tests whether the designated value is a member of the collection specified by the collection-valued path expression.CollectionValuedPathExpression Acollection_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.ComparisonExpression Only the values of like types are permitted to be compared.ConcatExpression The CONCAT function returns a string that is a concatenation of its arguments.ConstructorExpression In the SELECT clause a constructor may be used in the SELECT list to return one or more Java instances.CountFunction One of the aggregate functions.DateTime ThisExpressionrepresents a date or time.DeleteClause This is the delete clause of the delete statement.DeleteStatement Bulk delete operation apply to entities of a single entity class (together with its subclasses, if any).DivisionExpression One of the four binary operators.EclipseLinkExpressionVisitor TheExpressionVisitorthat adds support for the additional JPQL identifiers supported by EclipseLink that is not defined in the JPA function specification.EmptyCollectionComparisonExpression This expression tests whether or not the collection designated by the collection-valued path expression is empty (i.e, has no elements).EntityTypeLiteral ThisExpressionwraps the name of an entity type.EntryExpression An identification variable qualified by theENTRYoperator is a path expression.ExistsExpression An EXISTS expression is a predicate that istrueonly if the result of the subquery consists of one or more values and that isfalseotherwise.Expression This is the root interface of the parsed tree representation of a JPQL query.ExpressionVisitor This interface is used to traverse the JPQL parsed tree.FromClause The FROM clause of a query defines the domain of the query by declaring identification variables.FunctionExpression This expression adds support to call native database functions.GroupByClause The GROUP BY construct enables the aggregation of values according to the properties of an entity class.HavingClause The HAVING construct enables conditions to be specified that further restrict the query result as restrictions upon the groups.IdentificationVariable An identification variable is a valid identifier declared in the FROM clause of a query.IdentificationVariableDeclaration An identification variable is a valid identifier declared in the FROM clause of a query.IndexExpression The INDEX function returns an integer value corresponding to the position of its argument in an ordered list.InExpression The state field path expression must have a string, numeric, or enum value.InputParameter Either positional or named parameters may be used.Join A JOIN enables the fetching of an association as a side effect of the execution of a query.JPQLExpression AJPQLExpressionis the root of the parsed tree representation of a JPQL query.KeyExpression An identification variable qualified by theKEYoperator is a path expression.KeywordExpression The expression representing some keywords:TRUE,FALSEorNULL.LengthExpression The LENGTH function returns the length of the string in characters as an integer.LikeExpression The LIKE condition is used to specify a search for a pattern.LocateExpression The LOCATE function returns the position of a given string within a string, starting the search at a specified position.LowerExpression The LOWER function converts a string to lower case and it returns a string.MaxFunction One of the aggregate functions.MinFunction One of the aggregate functions.ModExpression The modulo operation finds the remainder of division of one number by another.MultiplicationExpression One of the four binary operators.NotExpression BNF:expression ::= NOT conditional_primaryNullComparisonExpression A null comparison tests whether or not the single-valued path expression or input parameter is a NULL value.NullExpression AnullExpressionis used instead of a truenull, which allows operations to be performed without doing anullcheck first.NullIfExpression NULLIF returns the first expression if the two expressions are not equal.NumericLiteral Exact numeric literals support the use of Java integer literal syntax as well as SQL exact numeric literal syntax.ObjectExpression Stand-alone identification variables in the SELECT clause may optionally be qualified by the OBJECT operator.OnClause Returns an expression that allows a join ON clause to be defined.OrderByClause The ORDER BY clause allows the objects or values that are returned by the query to be ordered.OrderByItem An 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.OrExpression The OR logical operator chains multiple criteria together.RangeVariableDeclaration Range variable declarations allow the developer to designate a "root" for objects which may not be reachable by navigation.ResultVariable A result variable may be used to name a select item in the query result.SelectClause The SELECT clause queries data from entities.SelectStatement ASELECTquery is an operation that retrieves data from one or more tables or views.SimpleFromClause The FROM clause of a query defines the domain of the query by declaring identification variables.SimpleSelectClause The SELECT statement queries data from entities.SimpleSelectStatement BNFLsubquery ::= simple_select_clause subquery_from_clause [where_clause] [groupby_clause] [having_clause]SizeExpression The SIZE function returns an integer value, the number of elements of the collection.SqrtExpression The SQRT function takes a numeric argument and returns a double.StateFieldPathExpression Asingle_valued_association_fieldis designated by the name of an association-field in a one-to-one or many-to-one relationship.StringLiteral A string literal is enclosed in single quotes.SubExpression This expression wraps a sub-expression within parenthesis.SubstringExpression The second and third arguments of the SUBSTRING function denote the starting position and length of the substring to be returned.SubtractionExpression One of the four binary operators.SumFunction One of the aggregate functions.TableVariableDeclaration Defines a table expression.TreatExpression Returns an expression that allows to treat its base as if it were a subclass of the class returned by the base.TrimExpression The TRIM function trims the specified character from a string.TypeExpression An entity type expression can be used to restrict query polymorphism.UnknownExpression This expression contains a portion of the query that is unknown to the parser.UpdateClause This is the update clause of the update statement.UpdateItem Thenew_valuespecified for an update operation must be compatible in type with the field to which it is assigned.UpdateStatement The UPDATE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression.UpperExpression The UPPER function converts a string to upper case and it returns a string.ValueExpression An identification variable qualified by theVALUEoperator is a path expression.WhenClause A WHEN predicate is used to calculate a condition and when it's true, its THEN will be executed.WhereClause The WHERE clause of a query consists of a conditional expression used to select objects or values that satisfy the expression.