|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.jpa.internal.jpql.parser.JPQLQueryBNF
org.eclipse.persistence.jpa.internal.jpql.parser.GroupByItemBNF
public final class GroupByItemBNF
The query BNF for a group by item expression.
groupby_item ::= single_valued_path_expression | identification_variable
| Field Summary | |
|---|---|
static java.lang.String |
IDThe unique identifier of this BNF rule. |
| Constructor Summary | |
|---|---|
GroupByItemBNF()Creates a new GroupByItemBNF. |
|
| Method Summary | |
|---|---|
(package private) java.lang.String |
getFallbackBNFId()When parsing the query and no JPQLQueryBNFs can help to parse the query, then it will fall back on this one. |
(package private) java.lang.String |
getFallbackExpressionFactoryId()Returns the unique identifier of the ExpressionFactory to use when the fall back BNF ID is not null. |
boolean |
handleAggregate()Determines whether the Expression handles a collection of sub-expressions that are aggregated by logical or arithmetic operators. |
boolean |
handleCollection()Determines whether the Expression handles a collection of sub-expressions that are separated by commas. |
(package private) void |
initialize()Initializes this BNF rule by registering child BNF rules and expression factories. |
| Methods inherited from class org.eclipse.persistence.jpa.internal.jpql.parser.JPQLQueryBNF |
|---|
addChildren, children, expressionFactory, expressionFactoryIds, getId, hasIdentifier, identifiers, isCompound, nonCompoundChildren, registerChild, registerExpressionFactory, 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 |
|---|
GroupByItemBNF()
GroupByItemBNF.| Method Detail |
|---|
java.lang.String getFallbackBNFId()
JPQLQueryBNFs can help to parse the query, then it will fall back on this one.getFallbackBNFId in class JPQLQueryBNFJPQLQueryBNF to use in the last resortjava.lang.String getFallbackExpressionFactoryId()
ExpressionFactory to use when the fall back BNF ID is not null. This will be used to parse a portion of the query when the registered expression factories cannot parse it.
Note: This method is only called if JPQLQueryBNF.getFallbackBNFId() does not return null.
getFallbackExpressionFactoryId in class JPQLQueryBNFExpressionFactorypublic boolean handleAggregate()
Expression handles a collection of sub-expressions that are aggregated by logical or arithmetic operators.handleAggregate in class JPQLQueryBNFtrue if the sub-expression to parse might have several logical and/or arithmetic expressions; false otherwisepublic boolean handleCollection()
Expression handles a collection of sub-expressions that are separated by commas.handleCollection in class JPQLQueryBNFtrue if the sub-expression to parse might have several sub-expressions separated by commas; false otherwisevoid initialize()
BNF rules and expression factories.initialize in class JPQLQueryBNF
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||