Class AbstractContentAssistVisitor.HavingClauseStatementHelper
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.AbstractHavingClauseStatementHelper<SelectStatement>
-
- org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.HavingClauseStatementHelper
-
- All Implemented Interfaces:
AbstractContentAssistVisitor.StatementHelper<SelectStatement>
- Enclosing class:
- AbstractContentAssistVisitor
protected static final class AbstractContentAssistVisitor.HavingClauseStatementHelper extends AbstractContentAssistVisitor.AbstractHavingClauseStatementHelper<SelectStatement>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HavingClauseStatementHelper(AbstractContentAssistVisitor visitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractContentAssistVisitor.OrderByClauseStatementHelper
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.AbstractHavingClauseStatementHelper
addClauseProposals, addInternalClauseProposals, getClause, hasClause, isClauseComplete, isRequired
-
-
-
-
Constructor Detail
-
HavingClauseStatementHelper
protected HavingClauseStatementHelper(AbstractContentAssistVisitor visitor)
-
-
Method Detail
-
getNextHelper
public AbstractContentAssistVisitor.OrderByClauseStatementHelper 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.- 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.- Parameters:
expression
- TheAbstractSelectStatement
being visited- Returns:
true
if a space follows the clause;false
otherwise
-
-