Class AggregateExpressionBNF

java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
org.eclipse.persistence.jpa.jpql.parser.AggregateExpressionBNF

public final class AggregateExpressionBNF extends JPQLQueryBNF
The query BNF for an aggregate expression.

JPA 1.0, 2.0:

BNF: aggregate_expression ::= { AVG | MAX | MIN | SUM } ([DISTINCT] state_field_path_expression) | COUNT ([DISTINCT] identification_variable | state_field_path_expression | single_valued_object_path_expression)
JPA 2.1:
BNF: aggregate_expression ::= { AVG | MAX | MIN | SUM } ([DISTINCT] state_field_path_expression) | COUNT ([DISTINCT] identification_variable | state_field_path_expression | single_valued_object_path_expression) | function_invocation
Since:
2.3
Version:
2.4