Class FunctionsReturningNumericsBNF

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

public final class FunctionsReturningNumericsBNF extends JPQLQueryBNF
The query BNF for a function expression returning a numeric value.

JPA 1.0:

BNF: functions_returning_numerics::= LENGTH(string_primary) | LOCATE(string_primary, string_primary[, simple_arithmetic_expression]) | ABS(simple_arithmetic_expression) | SQRT(simple_arithmetic_expression) | MOD(simple_arithmetic_expression, simple_arithmetic_expression) | SIZE(collection_valued_path_expression)

JPA 2.0:
BNF: functions_returning_numerics::= LENGTH(string_primary) | LOCATE(string_primary, string_primary[, simple_arithmetic_expression]) | ABS(simple_arithmetic_expression) | SQRT(simple_arithmetic_expression) | MOD(simple_arithmetic_expression, simple_arithmetic_expression) | SIZE(collection_valued_path_expression) | INDEX(identification_variable)

Version:
2.4
Author:
Pascal Filion
  • Field Details

  • Constructor Details

    • FunctionsReturningNumericsBNF

      public FunctionsReturningNumericsBNF()
      Creates a new FunctionsReturningNumericsBNF.
  • Method Details