|
EclipseLink 2.4.0, build 'v20120608-r11652' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.OrderByClauseSelectStatementHelper
protected class AbstractContentAssistVisitor.OrderByClauseSelectStatementHelper
Constructor Summary | |
---|---|
protected |
AbstractContentAssistVisitor.OrderByClauseSelectStatementHelper()
|
Method Summary | |
---|---|
void |
addClauseProposal()
Adds the JPQL identifier of the clause being scanned by this helper. |
void |
appendNextClauseProposals(SelectStatement expression,
OrderByClause 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. |
OrderByClause |
getClause(SelectStatement expression)
Returns the clause being scanned by this helper. |
Expression |
getClauseExpression(OrderByClause 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.HavingClauseSelectStatementHelper |
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(SelectStatement expression)
Determines whether the clause exists in the parsed tree. |
boolean |
hasClauseExpression(OrderByClause clause)
Determines whether the clause's expression exists in the parsed tree. |
boolean |
hasSpaceAfterClause(SelectStatement expression)
Determines whether there is a space (owned by the SELECT statement) after the clause being scanned by this helper. |
boolean |
hasSpaceBeforeClause(SelectStatement 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 |
Constructor Detail |
---|
protected AbstractContentAssistVisitor.OrderByClauseSelectStatementHelper()
Method Detail |
---|
public void addClauseProposal()
addClauseProposal
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
public void appendNextClauseProposals(SelectStatement expression, OrderByClause clause, int position, boolean complete)
appendNextClauseProposals
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
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 OrderByClause getClause(SelectStatement expression)
AbstractContentAssistVisitor.SelectStatementHelper.hasClause(AbstractSelectStatement)
is called before this one.
getClause
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
expression
- The AbstractSelectStatement
being visited
public Expression getClauseExpression(OrderByClause clause)
getClauseExpression
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
clause
- The AbstractSelectStatement
being visited
public 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.
getNextHelper
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
AbstractContentAssistVisitor.AbstractFromClauseSelectStatementHelper
for the next clausepublic AbstractContentAssistVisitor.HavingClauseSelectStatementHelper 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.
getPreviousHelper
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
AbstractContentAssistVisitor.AbstractFromClauseSelectStatementHelper
for the previous clausepublic boolean hasClause(SelectStatement expression)
hasClause
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
expression
- The AbstractSelectStatement
being visited
true
if the clause has been parsed; false
otherwisepublic boolean hasClauseExpression(OrderByClause clause)
hasClauseExpression
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
clause
- The clause being scanned
true
if the clause has its expression or a portion of it parsed;
false
if nothing was parsedpublic boolean hasSpaceAfterClause(SelectStatement expression)
hasSpaceAfterClause
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
expression
- The AbstractSelectStatement
being visited
true
if a space follows the clause; false
otherwisepublic boolean hasSpaceBeforeClause(SelectStatement expression)
hasSpaceBeforeClause
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
expression
- The AbstractSelectStatement
being visited
true
if a space precedes the clause; false
otherwisepublic boolean isClauseExpressionComplete(Expression expression)
isClauseExpressionComplete
in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
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.0, build 'v20120608-r11652' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |