|
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.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 . |
protected boolean |
shouldManageSpaceAfterClause()
Determines whether the whitespace following the HAVING clause should be
managed by this expression or not. |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractSelectStatement |
---|
acceptChildren, addChildrenTo, addOrderedChildrenTo, findQueryBNF, getFromClause, getGroupByClause, getHavingClause, getSelectClause, getWhereClause, hasFromClause, hasGroupByClause, hasHavingClause, hasSelectClause, 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
protected boolean shouldManageSpaceAfterClause()
HAVING
clause should be
managed by this expression or not.
shouldManageSpaceAfterClause
in class AbstractSelectStatement
true
by default to keep the whitespace part of this expression;
false
to let the parent handle it
|
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 |