|
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.Objectorg.eclipse.persistence.jpa.jpql.parser.AbstractExpression
org.eclipse.persistence.jpa.jpql.parser.AbstractSelectStatement
org.eclipse.persistence.jpa.jpql.parser.SimpleSelectStatement
public final class SimpleSelectStatement
subquery ::= simple_select_clause subquery_from_clause [where_clause] [groupby_clause] [having_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 | |
---|---|
SimpleSelectStatement(AbstractExpression parent)
Creates a new SimpleSelectStatement . |
Method Summary | |
---|---|
void |
accept(ExpressionVisitor visitor)
Visits this Expression by the given visitor . |
protected SimpleFromClause |
buildFromClause()
Creates the expression representing the from clause of this select statement. |
protected SimpleSelectClause |
buildSelectClause()
Creates the expression representing the select clause of this select statement. |
JPQLQueryBNF |
getQueryBNF()
Returns the BNF of this Expression . |
SimpleSelectClause |
getSelectClause()
Returns the AbstractSelectClause representing the SELECT clause. |
protected boolean |
shouldManageSpaceAfterClause()
Determines whether |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractSelectStatement |
---|
acceptChildren, addChildrenTo, addOrderedChildrenTo, addSelectClause, findQueryBNF, getFromClause, getGroupByClause, getHavingClause, getWhereClause, hasFromClause, hasGroupByClause, hasHavingClause, hasSpaceAfterFrom, hasSpaceAfterGroupBy, hasSpaceAfterSelect, hasSpaceAfterWhere, hasWhereClause, parse, toParsedText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleSelectStatement(AbstractExpression parent)
SimpleSelectStatement
.
parent
- The parent of this expressionMethod Detail |
---|
public void accept(ExpressionVisitor visitor)
Expression
by the given visitor
.
visitor
- The ExpressionVisitor
to visit this objectprotected SimpleFromClause buildFromClause()
buildFromClause
in class AbstractSelectStatement
null
can't be returnedprotected SimpleSelectClause buildSelectClause()
buildSelectClause
in class AbstractSelectStatement
null
can't be returnedpublic JPQLQueryBNF getQueryBNF()
Expression
.
JPQLQueryBNF
, which represents the grammar of this Expression
public SimpleSelectClause getSelectClause()
AbstractSelectClause
representing the SELECT clause.
getSelectClause
in class AbstractSelectStatement
protected boolean shouldManageSpaceAfterClause()
shouldManageSpaceAfterClause
in class AbstractSelectStatement
|
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 |