|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
org.eclipse.persistence.jpa.jpql.parser.AggregateExpressionBNF
public final class AggregateExpressionBNF
The query BNF for an aggregate expression.
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
| Field Summary | |
|---|---|
static java.lang.String |
ID
The unique identifier of this BNF rule. |
| Constructor Summary | |
|---|---|
AggregateExpressionBNF()
Creates a new AggregateExpressionBNF. |
|
| Method Summary | |
|---|---|
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, handlesSubExpression, hasIdentifier, isCompound, nonCompoundChildren, registerChild, registerExpressionFactory, setCompound, setFallbackBNFId, setFallbackExpressionFactoryId, setHandleAggregate, setHandleCollection, setHandleSubExpression, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ID
| Constructor Detail |
|---|
public AggregateExpressionBNF()
AggregateExpressionBNF.
| Method Detail |
|---|
protected void initialize()
JPQLQueryBNFs and ExpressionFactories.
initialize in class JPQLQueryBNF
|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||