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 SelectClauseBNF

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


public final class SelectClauseBNF
extends JPQLQueryBNF

The query BNF for the select clause.

BNF: select_clause ::= SELECT [DISTINCT] select_item {, select_item}*
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
SelectClauseBNF()
          Creates a new SelectClauseBNF.
 
Method Summary
 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, getFallbackBNFId, getFallbackExpressionFactoryId, getId, handleAggregate, 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

ID

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

SelectClauseBNF

SelectClauseBNF()
Creates a new SelectClauseBNF.
Method Detail

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

initialize

void initialize()
Initializes this BNF rule by registering child BNF rules and expression factories.
Overrides:
initialize in class JPQLQueryBNF

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