|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.eclipse.persistence.jpa.internal.jpql.parser.StringExpression
org.eclipse.persistence.jpa.internal.jpql.parser.AbstractExpression
org.eclipse.persistence.jpa.internal.jpql.parser.AbstractSelectStatement
org.eclipse.persistence.jpa.internal.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.internal.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 . |
SimpleFromClause |
addFromClause() Manually adds the FROM clause to this SELECT statement. |
(package private) SimpleFromClause |
buildFromClause() Creates the expression representing the from clause of this select statement. |
(package private) 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. |
(package private) boolean |
shouldManageSpaceAfterClause() Determines whether |
Methods inherited from class org.eclipse.persistence.jpa.internal.jpql.parser.AbstractSelectStatement |
---|
acceptChildren, addChildrenTo, addOrderedChildrenTo, addSelectClause, addWhereClause, getFromClause, getGroupByClause, getHavingClause, getWhereClause, hasFromClause, hasGroupByClause, hasHavingClause, hasSpaceAfterFrom, hasSpaceAfterGroupBy, hasSpaceAfterSelect, hasSpaceAfterWhere, hasWhereClause, parse, toParsedText |
Methods inherited from class org.eclipse.persistence.jpa.internal.jpql.parser.AbstractExpression |
---|
buildExpressionFromFallingBack, buildNullExpression, buildStringExpression, buildStringExpression, buildUnknownExpression, children, expressionFactory, expressionFactoryForIdentifier, findQueryBNF, getChildren, getJPAVersion, getParent, getRoot, getText, handleAggregate, identifierRole, identifiers, identifiers, identifierVersion, isAncestor, isIdentifier, isNull, isParsingComplete, isTolerant, isUnknown, isVirtual, orderedChildren, parse, parseSingleExpression, populatePosition, queryBNF, readdLeadingSpaces, rebuildActualText, rebuildParsedText, setParent, setText, shouldParseWithFactoryFirst, shouldSkipLiteral, toActualText, toParsedText, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
SimpleSelectStatement(AbstractExpression parent)
SimpleSelectStatement
.
parent
- The parent of this expressionMethod Detail |
---|
public void accept(ExpressionVisitor visitor)
Expression
by the given visitor
.visitor
- The visitor
to visit this objectpublic SimpleFromClause addFromClause()
addFromClause
in class AbstractSelectStatement
FROM clause
SimpleFromClause buildFromClause()
buildFromClause
in class AbstractSelectStatement
null
can't be returnedSimpleSelectClause buildSelectClause()
buildSelectClause
in class AbstractSelectStatement
null
can't be returnedpublic JPQLQueryBNF getQueryBNF()
Expression
.getQueryBNF
in class AbstractExpression
JPQLQueryBNF
, which represents the grammar of this Expression
public SimpleSelectClause getSelectClause()
AbstractSelectClause
representing the SELECT clause.getSelectClause
in class AbstractSelectStatement
boolean shouldManageSpaceAfterClause()
shouldManageSpaceAfterClause
in class AbstractSelectStatement
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |