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 InternalConcatExpressionBNF

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


public final class InternalConcatExpressionBNF
extends JPQLQueryBNF

The query BNF for the COUNT expression's encapsulated expressions.

Since:
2.3
Version:
2.3
Author:
Pascal Filion

Field Summary
(package private) static java.lang.String ID
          The unique identifier of this InternalConcatExpressionBNF.

 

Constructor Summary
InternalConcatExpressionBNF()
          Creates a new InternalConcatExpressionBNF.

 

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.
 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, getFallbackExpressionFactoryId, 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

ID

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

Constructor Detail

InternalConcatExpressionBNF

InternalConcatExpressionBNF()
Creates a new InternalConcatExpressionBNF.

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

handleAggregate

public boolean handleAggregate()
Determines whether the Expression handles a collection of sub-expressions that are aggregated by logical or arithmetic operators.
Overrides:
handleAggregate in class JPQLQueryBNF
Returns:
true if the sub-expression to parse might have several logical and/or arithmetic expressions; false otherwise

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

Skip navigation links

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