Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.jpa.internal.jpql.parser
Class InternalOrderByClauseBNF

java.lang.Object
  extended by org.eclipse.persistence.jpa.internal.jpql.parser.JPQLQueryBNF
      extended by org.eclipse.persistence.jpa.internal.jpql.parser.InternalOrderByClauseBNF


public final class InternalOrderByClauseBNF
extends JPQLQueryBNF

The query BNF for what's following the order by identifier.

Since:
2.3
Version:
2.3
Author:
Pascal Filion

Field Summary
static java.lang.String ID
          The unique identifier of this BNF rule.

 

Constructor Summary
InternalOrderByClauseBNF()
          Creates a new InternalOrderByClauseBNF.

 

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 handleCollection()
          Determines whether the Expression handles a collection of sub-expressions that are separated by commas.

 

Methods inherited from class org.eclipse.persistence.jpa.internal.jpql.parser.JPQLQueryBNF
addChildren, children, expressionFactory, expressionFactoryIds, getId, handleAggregate, hasIdentifier, identifiers, initialize, isCompound, nonCompoundChildren, registerChild, registerExpressionFactory, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

ID

public static final java.lang.String ID
The unique identifier of this BNF rule.
See Also:
Constant Field Values

Constructor Detail

InternalOrderByClauseBNF

InternalOrderByClauseBNF()
Creates a new InternalOrderByClauseBNF.

Method Detail

getFallbackBNFId

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.
Overrides:
getFallbackBNFId in class JPQLQueryBNF
Returns:
The unique identifier of the JPQLQueryBNF to use in the last resort

getFallbackExpressionFactoryId

java.lang.String getFallbackExpressionFactoryId()
Returns the unique identifier of the 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.

Overrides:
getFallbackExpressionFactoryId in class JPQLQueryBNF
Returns:
The unique identifier of the ExpressionFactory

handleCollection

public boolean handleCollection()
Determines whether the Expression handles a collection of sub-expressions that are separated by commas.
Overrides:
handleCollection in class JPQLQueryBNF
Returns:
true if the sub-expression to parse might have several sub-expressions separated by commas; false otherwise

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.