|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor org.eclipse.persistence.jpa.jpql.EclipseLinkContentAssistVisitor
public class EclipseLinkContentAssistVisitor
This extension over the default content assist visitor adds the additional support EclipseLink provides.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Nested Class Summary | |
---|---|
protected class |
EclipseLinkContentAssistVisitor.AcceptableTypeVisitor
|
protected class |
EclipseLinkContentAssistVisitor.AppendableExpressionVisitor
|
protected class |
EclipseLinkContentAssistVisitor.EndingQueryPositionBuilder
|
protected class |
EclipseLinkContentAssistVisitor.OrderByClauseStatementHelper
|
protected class |
EclipseLinkContentAssistVisitor.TableExpressionVisitor
|
protected class |
EclipseLinkContentAssistVisitor.TrailingCompletenessVisitor
|
protected class |
EclipseLinkContentAssistVisitor.UnionClauseStatementHelper
|
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor |
---|
compoundTypeFilters, corrections, helpers, lockedExpressions, proposals, queryContext, queryPosition, SPACE_LENGTH, virtualSpaces, word, wordParser |
Constructor Summary | |
---|---|
EclipseLinkContentAssistVisitor(JPQLQueryContext queryContext)
Creates a new EclipseLinkContentAssistVisitor . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.persistence.jpa.jpql.parser.ExpressionVisitor |
---|
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Constructor Detail |
---|
public EclipseLinkContentAssistVisitor(JPQLQueryContext queryContext)
EclipseLinkContentAssistVisitor
.
queryContext
- The context used to query information about the query
java.lang.NullPointerException
- The JPQLQueryContext
cannot be null
Method Detail |
---|
protected EclipseLinkContentAssistVisitor.AcceptableTypeVisitor buildAcceptableTypeVisitor()
buildAcceptableTypeVisitor
in class AbstractContentAssistVisitor
protected EclipseLinkContentAssistVisitor.AppendableExpressionVisitor buildAppendableExpressionVisitor()
buildAppendableExpressionVisitor
in class AbstractContentAssistVisitor
protected EclipseLinkContentAssistVisitor.EndingQueryPositionBuilder buildEndingQueryPositionBuilder()
buildEndingQueryPositionBuilder
in class AbstractContentAssistVisitor
protected AbstractContentAssistVisitor.GroupByClauseCollectionHelper buildGroupByClauseCollectionHelper()
buildGroupByClauseCollectionHelper
in class AbstractContentAssistVisitor
protected EclipseLinkContentAssistVisitor.OrderByClauseStatementHelper buildOrderByClauseStatementHelper()
buildOrderByClauseStatementHelper
in class AbstractContentAssistVisitor
protected EclipseLinkContentAssistVisitor.TableExpressionVisitor buildTableExpressionVisitor()
protected EclipseLinkContentAssistVisitor.TrailingCompletenessVisitor buildTrailingCompletenessVisitor()
buildTrailingCompletenessVisitor
in class AbstractContentAssistVisitor
protected EclipseLinkContentAssistVisitor.UnionClauseStatementHelper buildUnionClauseStatementHelper()
protected EclipseLinkContentAssistVisitor.TableExpressionVisitor getTableExpressionVisitor()
protected EclipseLinkContentAssistVisitor.UnionClauseStatementHelper getUnionClauseStatementHelper()
protected void initialize()
initialize
in class AbstractContentAssistVisitor
protected boolean isJoinFetchIdentifiable()
JOIN FETCH
expression can be identified by with an
identification variable or not.
isJoinFetchIdentifiable
in class AbstractContentAssistVisitor
true
if the expression can have an identification variable;
false
otherwiseprotected boolean isTableExpression(Expression expression)
public void visit(CastExpression expression)
CastExpression
expression.
visit
in interface EclipseLinkExpressionVisitor
expression
- The Expression
to visitpublic void visit(DatabaseType expression)
DatabaseType
expression.
visit
in interface EclipseLinkExpressionVisitor
expression
- The DatabaseType
to visitpublic void visit(ExtractExpression expression)
ExtractExpression
expression.
visit
in interface EclipseLinkExpressionVisitor
expression
- The Expression
to visitpublic void visit(OrderByItem expression)
OrderByItem
expression.
visit
in interface ExpressionVisitor
visit
in class AbstractContentAssistVisitor
expression
- The Expression
to visitpublic void visit(RegexpExpression expression)
visit
in interface EclipseLinkExpressionVisitor
public void visit(TableExpression expression)
TableExpression
expression.
visit
in interface EclipseLinkExpressionVisitor
expression
- The Expression
to visitpublic void visit(TableVariableDeclaration expression)
TableVariableDeclaration
expression.
visit
in interface EclipseLinkExpressionVisitor
expression
- The Expression
to visitpublic void visit(UnionClause expression)
UnionClause
expression.
visit
in interface EclipseLinkExpressionVisitor
expression
- The Expression
to visit
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |