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