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 protectedOrderByClauseStatementHelper(AbstractContentAssistVisitor visitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EclipseLinkContentAssistVisitor.UnionClauseStatementHelpergetNextHelper()Returns theAbstractContentAssistVisitor.StatementHelperthat will scan the following clause, which is based on the grammar and not on the actual existence of the clause in the parsed tree.booleanhasSpaceAfterClause(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.StatementHelperthat 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:
getNextHelperin interfaceAbstractContentAssistVisitor.StatementHelper<SelectStatement>- Overrides:
getNextHelperin classAbstractContentAssistVisitor.OrderByClauseStatementHelper- Returns:
- The
AbstractContentAssistVisitor.StatementHelperfor 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:
hasSpaceAfterClausein interfaceAbstractContentAssistVisitor.StatementHelper<SelectStatement>- Overrides:
hasSpaceAfterClausein classAbstractContentAssistVisitor.OrderByClauseStatementHelper- Parameters:
expression- TheAbstractSelectStatementbeing visited- Returns:
trueif a space follows the clause;falseotherwise
-
-