|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jpa.jpql.parser.AbstractExpression org.eclipse.persistence.jpa.jpql.parser.AbstractSelectClause org.eclipse.persistence.jpa.jpql.parser.SelectClause
public final class SelectClause
The SELECT clause queries data from entities.
select_clause ::= SELECT [DISTINCT] select_expression {, select_expression}*
AbstractSelectClause
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 | |
---|---|
SelectClause(AbstractExpression parent)
Creates a new SelectClause . |
Method Summary | |
---|---|
void |
accept(ExpressionVisitor visitor)
Visits this Expression by the given visitor . |
JPQLQueryBNF |
getQueryBNF()
Returns the BNF of this Expression . |
java.lang.String |
selectItemBNF()
Returns the BNF for the list of select items to parse. |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractSelectClause |
---|
acceptChildren, addChildrenTo, addOrderedChildrenTo, buildCollectionExpression, findQueryBNF, getActualDistinctIdentifier, getActualIdentifier, getSelectExpression, hasDistinct, hasSelectExpression, hasSpaceAfterDistinct, hasSpaceAfterSelect, parse, shouldSkipLiteral, toParsedText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SelectClause(AbstractExpression parent)
SelectClause
.
parent
- The parent of this expressionMethod Detail |
---|
public void accept(ExpressionVisitor visitor)
Expression
by the given visitor
.
visitor
- The ExpressionVisitor
to visit this objectpublic JPQLQueryBNF getQueryBNF()
Expression
.
JPQLQueryBNF
, which represents the grammar of this Expression
public java.lang.String selectItemBNF()
selectItemBNF
in class AbstractSelectClause
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |