public final class AggregateExpressionBNF extends JPQLQueryBNF
JPA 1.0, 2.0:
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:
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
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
The unique identifier of this BNF rule.
|
Constructor and Description |
---|
AggregateExpressionBNF()
Creates a new
AggregateExpressionBNF . |
Modifier and Type | Method and Description |
---|---|
protected void |
initialize()
Initializes this BNF by registering child
JPQLQueryBNFs and ExpressionFactories . |
children, getExpressionFactory, getExpressionFactoryIds, getExpressionRegistry, getFallbackBNFId, getFallbackExpressionFactoryId, getId, getIdentifiers, handleAggregate, handleCollection, handlesNestedArray, handleSubExpression, hasChild, hasIdentifier, isCompound, nonCompoundChildren, registerChild, registerExpressionFactory, setCompound, setFallbackBNFId, setFallbackExpressionFactoryId, setHandleAggregate, setHandleCollection, setHandleNestedArray, setHandleSubExpression, toString, toString
public static final java.lang.String ID
public AggregateExpressionBNF()
AggregateExpressionBNF
.protected void initialize()
JPQLQueryBNFs
and ExpressionFactories
.initialize
in class JPQLQueryBNF