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:JPA 2.1:aggregate_expression ::= { AVG | MAX | MIN | SUM } ([DISTINCT] state_field_path_expression) | COUNT ([DISTINCT] identification_variable | state_field_path_expression | single_valued_object_path_expression)
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
- Author:
- Pascal Filion
-
-
Constructor Summary
Constructors Constructor Description AggregateExpressionBNF()
Creates a newAggregateExpressionBNF
.
-
Method Summary
-
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
children, getExpressionFactory, getExpressionFactoryIds, getExpressionRegistry, getFallbackBNFId, getFallbackExpressionFactoryId, getId, getIdentifiers, handleAggregate, handleCollection, handlesNestedArray, handleSubExpression, hasChild, hasIdentifier, isCompound, nonCompoundChildren, setCompound, setFallbackBNFId, setFallbackExpressionFactoryId, setHandleAggregate, setHandleCollection, setHandleNestedArray, setHandleSubExpression, toString
-
-
-
-
Field Detail
-
ID
public static final String ID
The unique identifier of this BNF rule.- See Also:
- Constant Field Values
-
-