Class 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

    Version:
    2.4
    Author:
    Pascal Filion
    Since:
    2.3
    • Field Detail

      • ID

        public static final java.lang.String ID
        The unique identifier of this BNF rule.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AggregateExpressionBNF

        public AggregateExpressionBNF()
        Creates a new AggregateExpressionBNF.