Class AbstractContentAssistVisitor.SimpleHavingClauseStatementHelper
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.AbstractHavingClauseStatementHelper<SimpleSelectStatement>
-
- org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.SimpleHavingClauseStatementHelper
-
- All Implemented Interfaces:
AbstractContentAssistVisitor.StatementHelper<SimpleSelectStatement>
- Enclosing class:
- AbstractContentAssistVisitor
protected static final class AbstractContentAssistVisitor.SimpleHavingClauseStatementHelper extends AbstractContentAssistVisitor.AbstractHavingClauseStatementHelper<SimpleSelectStatement>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimpleHavingClauseStatementHelper(AbstractContentAssistVisitor visitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractContentAssistVisitor.StatementHelper<SimpleSelectStatement>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.booleanhasSpaceAfterClause(SimpleSelectStatement 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
-
SimpleHavingClauseStatementHelper
protected SimpleHavingClauseStatementHelper(AbstractContentAssistVisitor visitor)
-
-
Method Detail
-
getNextHelper
public AbstractContentAssistVisitor.StatementHelper<SimpleSelectStatement> 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.- Returns:
- The
AbstractContentAssistVisitor.StatementHelperfor the next clause
-
hasSpaceAfterClause
public boolean hasSpaceAfterClause(SimpleSelectStatement expression)
Determines whether there is a space (owned by the SELECT statement) after the clause being scanned by this helper.- Parameters:
expression- TheAbstractSelectStatementbeing visited- Returns:
trueif a space follows the clause;falseotherwise
-
-