public final class ArithmeticPrimaryBNF extends JPQLQueryBNF
JPA 1.0
arithmetic_primary ::= state_field_path_expression |
numeric_literal |
(simple_arithmetic_expression) |
input_parameter |
functions_returning_numerics |
aggregate_expression
JPA 2.0:
BNF: arithmetic_primary ::= state_field_path_expression |
numeric_literal |
(simple_arithmetic_expression) |
input_parameter |
functions_returning_numerics |
aggregate_expression |
case_expression
JPA 2.1:
BNF: arithmetic_primary ::= state_field_path_expression |
numeric_literal |
(arithmetic_expression) |
input_parameter |
functions_returning_numerics |
aggregate_expression |
case_expression |
function_invocation |
(subquery)
- Version:
- 2.5
- Author:
- Pascal Filion
- Since:
- 2.3
-
-
Field Summary
Fields
Modifier and Type
Field and Description
static java.lang.String
ID
The unique identifier of this BNF rule.
-
Constructor Summary
Constructors
Constructor and Description
ArithmeticPrimaryBNF()
Creates a new ArithmeticPrimaryBNF
.
-
Method Summary
Methods
Modifier and Type
Method and Description
protected void
initialize()
Initializes this BNF by registering child JPQLQueryBNFs
and ExpressionFactories
.
-
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, registerChild, registerExpressionFactory, setCompound, setFallbackBNFId, setFallbackExpressionFactoryId, setHandleAggregate, setHandleCollection, setHandleNestedArray, setHandleSubExpression, toString, toString
-
-
Field Detail
-
ID
public static final java.lang.String ID
The unique identifier of this BNF rule.
- See Also:
- Constant Field Values
-
Constructor Detail
-
ArithmeticPrimaryBNF
public ArithmeticPrimaryBNF()
Creates a new ArithmeticPrimaryBNF
.
-
Method Detail
-
initialize
protected void initialize()
Initializes this BNF by registering child JPQLQueryBNFs
and ExpressionFactories
.
- Overrides:
initialize
in class JPQLQueryBNF