|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jpa.jpql.parser.AbstractExpression
org.eclipse.persistence.jpa.jpql.parser.AbstractFromClause
org.eclipse.persistence.jpa.jpql.parser.FromClause
public final class FromClause
The FROM clause of a query defines the domain of the query by declaring identification variables. An identification variable is an identifier declared in the FROM clause of a query. The domain of the query may be constrained by path expressions. Identification variables designate instances of a particular entity abstract schema type. The FROM clause can contain multiple identification variable declarations separated by a comma (,).
JPA 1.0, 2.0, 2.1, EclipseLink 1.0 - 2.4:from_clause ::= FROM identification_variable_declaration {, {identification_variable_declaration | collection_member_declaration}}*
EclipseLink 2.5:
from_clause ::= FROM identification_variable_declaration {, {identification_variable_declaration | collection_member_declaration}}* [hierarchical_query_clause] [asof_clause]
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractExpression |
---|
COMMA, DOT, DOUBLE_QUOTE, LEFT_CURLY_BRACKET, LEFT_PARENTHESIS, NOT_DEFINED, RIGHT_CURLY_BRACKET, RIGHT_PARENTHESIS, SINGLE_QUOTE, SPACE, UNDERSCORE |
Constructor Summary | |
---|---|
FromClause(AbstractExpression parent)
Creates a new FromClause . |
Method Summary | |
---|---|
void |
accept(ExpressionVisitor visitor)
Visits this Expression by the given visitor . |
java.lang.String |
getDeclarationQueryBNFId()
Returns the BNF of the declaration part of this clause. |
JPQLQueryBNF |
getQueryBNF()
Returns the BNF of this Expression . |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractFromClause |
---|
acceptChildren, addChildrenTo, addOrderedChildrenTo, buildCollectionExpression, findQueryBNF, getActualIdentifier, getAsOfClause, getDeclaration, getHierarchicalQueryClause, hasAsOfClause, hasDeclaration, hasHierarchicalQueryClause, hasSpaceAfterDeclaration, hasSpaceAfterFrom, hasSpaceAfterHierarchicalQueryClause, isParsingComplete, parse, shouldParseWithFactoryFirst, toParsedText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FromClause(AbstractExpression parent)
FromClause
.
parent
- The parent of this expressionMethod Detail |
---|
public void accept(ExpressionVisitor visitor)
Expression
by the given visitor
.
visitor
- The ExpressionVisitor
to visit this objectpublic java.lang.String getDeclarationQueryBNFId()
getDeclarationQueryBNFId
in class AbstractFromClause
public JPQLQueryBNF getQueryBNF()
Expression
.
JPQLQueryBNF
, which represents the grammar of this Expression
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |