|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
protected static interface AbstractContentAssistVisitor.SelectStatementHelper<T extends AbstractSelectStatement,C extends Expression>
Method Summary | |
---|---|
void |
addClauseProposal()
Adds the JPQL identifier of the clause being scanned by this helper. |
void |
appendNextClauseProposals(T expression,
C 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. |
C |
getClause(T expression)
Returns the clause being scanned by this helper. |
Expression |
getClauseExpression(C clause)
Returns the clause's expression. |
AbstractContentAssistVisitor.SelectStatementHelper<? extends AbstractSelectStatement,? extends Expression> |
getNextHelper()
Returns the AbstractContentAssistVisitor.AbstractFromClauseSelectStatementHelper that will scan the following clause, which is
based on the grammar and not on the actual existence of the clause in the parsed tree. |
AbstractContentAssistVisitor.SelectStatementHelper<? extends AbstractSelectStatement,? extends Expression> |
getPreviousHelper()
Returns the AbstractContentAssistVisitor.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(T expression)
Determines whether the clause exists in the parsed tree. |
boolean |
hasClauseExpression(C clause)
Determines whether the clause's expression exists in the parsed tree. |
boolean |
hasSpaceAfterClause(T expression)
Determines whether there is a space (owned by the SELECT statement) after the clause being scanned by this helper. |
boolean |
hasSpaceBeforeClause(T 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. |
Method Detail |
---|
void addClauseProposal()
void appendNextClauseProposals(T expression, C clause, int position, boolean complete)
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 notC getClause(T expression)
hasClause(AbstractSelectStatement)
is called before this one.
expression
- The AbstractSelectStatement
being visited
Expression getClauseExpression(C clause)
clause
- The AbstractSelectStatement
being visited
AbstractContentAssistVisitor.SelectStatementHelper<? extends AbstractSelectStatement,? extends Expression> getNextHelper()
AbstractContentAssistVisitor.AbstractFromClauseSelectStatementHelper
that will scan the following clause, which is
based on the grammar and not on the actual existence of the clause in the parsed tree.
AbstractContentAssistVisitor.AbstractFromClauseSelectStatementHelper
for the next clauseAbstractContentAssistVisitor.SelectStatementHelper<? extends AbstractSelectStatement,? extends Expression> getPreviousHelper()
AbstractContentAssistVisitor.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.
AbstractContentAssistVisitor.AbstractFromClauseSelectStatementHelper
for the previous clauseboolean hasClause(T expression)
expression
- The AbstractSelectStatement
being visited
true
if the clause has been parsed; false
otherwiseboolean hasClauseExpression(C clause)
clause
- The clause being scanned
true
if the clause has its expression or a portion of it parsed;
false
if nothing was parsedboolean hasSpaceAfterClause(T expression)
expression
- The AbstractSelectStatement
being visited
true
if a space follows the clause; false
otherwiseboolean hasSpaceBeforeClause(T expression)
expression
- The AbstractSelectStatement
being visited
true
if a space precedes the clause; false
otherwiseboolean isClauseExpressionComplete(Expression expression)
expression
- The clause's expression to verify its completeness
true
if the Expression
is complete based on its content versus
what the grammar expects; false
otherwise
|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |