|
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.ContentAssistVisitor.AbstractSelectClauseSelectStatementHelper
private abstract class ContentAssistVisitor.AbstractSelectClauseSelectStatementHelper
Constructor Summary | |
---|---|
private |
ContentAssistVisitor.AbstractSelectClauseSelectStatementHelper() |
Method Summary | |
---|---|
void |
addClauseProposal() Adds the JPQL identifier of the clause being scanned by this helper. |
void |
appendNextClauseProposals(AbstractSelectStatement expression, AbstractSelectClause clause, int position, boolean complete) The position of the cursor is at the end of the given clause, requests to add the clauses' identifiers that can be added as proposals. |
AbstractSelectClause |
getClause(AbstractSelectStatement expression) Returns the clause being scanned by this helper. |
Expression |
getClauseExpression(AbstractSelectClause clause) Returns the clause's expression. |
ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,Expression> |
getPreviousHelper() Returns the ContentAssistVisitor.AbstractFromClauseSelectStatementHelper that will scan the previous clause, which is based on the grammar and not on the actual existence of the clause in the parsed tree. |
boolean |
hasClause(AbstractSelectStatement expression) Determines whether the clause exists in the parsed tree. |
boolean |
hasClauseExpression(AbstractSelectClause clause) Determines whether the clause's expression exists in the parsed tree. |
boolean |
hasSpaceAfterClause(AbstractSelectStatement expression) Determines whether there is a space (owned by the SELECT statement) after the clause being scanned by this helper. |
boolean |
hasSpaceBeforeClause(AbstractSelectStatement expression) Determines whether there is a space (owned by the SELECT statement) before the clause being scanned by this helper. |
boolean |
isClauseExpressionComplete(Expression expression) Determines whether the clause's expression is complete or incomplete. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.persistence.jpa.internal.jpql.ContentAssistVisitor.SelectStatementHelper |
---|
getNextHelper |
Constructor Detail |
---|
private ContentAssistVisitor.AbstractSelectClauseSelectStatementHelper()
Method Detail |
---|
public void addClauseProposal()
addClauseProposal
in interface ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,AbstractSelectClause>
public void appendNextClauseProposals(AbstractSelectStatement expression, AbstractSelectClause clause, int position, boolean complete)
appendNextClauseProposals
in interface ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,AbstractSelectClause>
expression
- The AbstractSelectStatement
being visitedclause
- The clause being scannedposition
- The position of the cursor within the AbstractSelectStatement
complete
- Determines whether the clause's expression is complete or notpublic AbstractSelectClause getClause(AbstractSelectStatement expression)
ContentAssistVisitor.SelectStatementHelper.hasClause(AbstractSelectStatement)
is called before this one.getClause
in interface ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,AbstractSelectClause>
expression
- The AbstractSelectStatement
being visitedpublic Expression getClauseExpression(AbstractSelectClause clause)
getClauseExpression
in interface ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,AbstractSelectClause>
public ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,Expression> getPreviousHelper()
ContentAssistVisitor.AbstractFromClauseSelectStatementHelper
that will scan the previous clause, which is based on the grammar and not on the actual existence of the clause in the parsed tree.getPreviousHelper
in interface ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,AbstractSelectClause>
ContentAssistVisitor.AbstractFromClauseSelectStatementHelper
for the previous clausepublic boolean hasClause(AbstractSelectStatement expression)
hasClause
in interface ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,AbstractSelectClause>
expression
- The AbstractSelectStatement
being visitedtrue
if the clause has been parsed; false
otherwisepublic boolean hasClauseExpression(AbstractSelectClause clause)
hasClauseExpression
in interface ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,AbstractSelectClause>
clause
- The clause being scannedtrue
if the clause has its expression or a portion of it parsed; false
if nothing was parsedpublic boolean hasSpaceAfterClause(AbstractSelectStatement expression)
hasSpaceAfterClause
in interface ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,AbstractSelectClause>
expression
- The AbstractSelectStatement
being visitedtrue
if a space follows the clause; false
otherwisepublic boolean hasSpaceBeforeClause(AbstractSelectStatement expression)
hasSpaceBeforeClause
in interface ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,AbstractSelectClause>
expression
- The AbstractSelectStatement
being visitedtrue
if a space precedes the clause; false
otherwisepublic boolean isClauseExpressionComplete(Expression expression)
isClauseExpressionComplete
in interface ContentAssistVisitor.SelectStatementHelper<AbstractSelectStatement,AbstractSelectClause>
expression
- The clause's expression to verify its completenesstrue
if the Expression
is complete based on its content versus what the grammar expects; false
otherwise
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |