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
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AbstractContentAssistVisitor
Enclosing visitor instance. -
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionReturns 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
-
Field Details
-
visitor
Enclosing visitor instance.
-
-
Constructor Details
-
OrderByClauseStatementHelper
-
-
Method Details
-
getNextHelper
Description copied from interface:AbstractContentAssistVisitor.StatementHelper
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
Description copied from interface:AbstractContentAssistVisitor.StatementHelper
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
-