Class EclipseLinkContentAssistVisitor.OrderByClauseStatementHelper
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.OrderByClauseStatementHelper
-
- org.eclipse.persistence.jpa.jpql.tools.EclipseLinkContentAssistVisitor.OrderByClauseStatementHelper
-
- All Implemented Interfaces:
AbstractContentAssistVisitor.StatementHelper<SelectStatement>
- Enclosing class:
- EclipseLinkContentAssistVisitor
protected class EclipseLinkContentAssistVisitor.OrderByClauseStatementHelper extends AbstractContentAssistVisitor.OrderByClauseStatementHelper
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OrderByClauseStatementHelper(AbstractContentAssistVisitor visitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EclipseLinkContentAssistVisitor.UnionClauseStatementHelper
getNextHelper()
Returns theAbstractContentAssistVisitor.StatementHelper
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.boolean
hasSpaceAfterClause(SelectStatement expression)
Determines whether there is a space (owned by the SELECT statement) after the clause being scanned by this helper.-
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.OrderByClauseStatementHelper
addClauseProposals, addInternalClauseProposals, getClause, hasClause, isClauseComplete, isRequired
-
-
-
-
Constructor Detail
-
OrderByClauseStatementHelper
protected OrderByClauseStatementHelper(AbstractContentAssistVisitor visitor)
-
-
Method Detail
-
getNextHelper
public EclipseLinkContentAssistVisitor.UnionClauseStatementHelper getNextHelper()
Returns theAbstractContentAssistVisitor.StatementHelper
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.- Specified by:
getNextHelper
in interfaceAbstractContentAssistVisitor.StatementHelper<SelectStatement>
- Overrides:
getNextHelper
in classAbstractContentAssistVisitor.OrderByClauseStatementHelper
- Returns:
- The
AbstractContentAssistVisitor.StatementHelper
for the next clause
-
hasSpaceAfterClause
public boolean hasSpaceAfterClause(SelectStatement expression)
Determines whether there is a space (owned by the SELECT statement) after the clause being scanned by this helper.- Specified by:
hasSpaceAfterClause
in interfaceAbstractContentAssistVisitor.StatementHelper<SelectStatement>
- Overrides:
hasSpaceAfterClause
in classAbstractContentAssistVisitor.OrderByClauseStatementHelper
- Parameters:
expression
- TheAbstractSelectStatement
being visited- Returns:
true
if a space follows the clause;false
otherwise
-
-