|
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.InternalOrderByItemBNF
public final class InternalOrderByItemBNF
The query BNF for an order by item.
JPA 1.0:
orderby_item ::= state_field_path_expression [ ASC | DESC ]
JPA 2.0
orderby_item ::= state_field_path_expression | result_variable [ ASC | DESC ]
| Field Summary | |
|---|---|
static java.lang.String |
IDThe unique identifier for this InternalOrderByItemBNF. |
| Constructor Summary | |
|---|---|
InternalOrderByItemBNF()Creates a new InternalOrderByItemBNF. |
|
| 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. |
(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, handleAggregate, handleCollection, 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
InternalOrderByItemBNF.
| Constructor Detail |
|---|
InternalOrderByItemBNF()
InternalOrderByItemBNF.| 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 JPQLQueryBNFExpressionFactoryvoid 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 | ||||||||