Uses of Class
org.eclipse.persistence.jpa.jpql.parser.CollectionExpression
Package
Description
This package contains the Hermes features (except the parser itself): semantic and grammatical
validations, content assist support, calculating the query result type or the possible type of
an input parameter, refactoring tools.
This is the core of Hermes, this package contains the classes that can parse a JPQL query.
The classes defined in this package define the state model API, a state model can be used to
manually or programmatically create and edit a JPQL query.
This package contains the
StateObject
classes that represents a JPQL query.-
Uses of CollectionExpression in org.eclipse.persistence.jpa.jpql
Modifier and TypeFieldDescriptionprotected CollectionExpression
AbstractGrammarValidator.CollectionExpressionVisitor.expression
TheCollectionExpression
if it is theExpression
that was visited.Modifier and TypeMethodDescriptionprotected CollectionExpression
AbstractGrammarValidator.getCollectionExpression
(Expression expression) Casts the givenExpression
to aCollectionExpression
if it is actually an object of that type.Modifier and TypeMethodDescriptionprotected void
AbstractGrammarValidator.AbstractCollectionValidator.validateEndsWithComma
(CollectionExpression expression) protected void
AbstractGrammarValidator.AbstractCollectionValidator.validateSeparation
(CollectionExpression expression) void
AbstractEclipseLinkSemanticValidator.SubquerySelectItemCalculator.visit
(CollectionExpression expression) void
AbstractGrammarValidator.AbstractCollectionValidator.visit
(CollectionExpression expression) void
AbstractGrammarValidator.CollectionExpressionVisitor.visit
(CollectionExpression expression) void
AbstractGrammarValidator.visit
(CollectionExpression expression) final void
AbstractSemanticValidator.visit
(CollectionExpression expression) void
AbstractValidator.BypassChildCollectionExpressionVisitor.visit
(CollectionExpression expression) void
AbstractValidator.ChildrenCollectorVisitor.visit
(CollectionExpression expression) void
AbstractValidator.JPQLQueryBNFValidator.visit
(CollectionExpression expression) void
AbstractValidator.NestedArrayVisitor.visit
(CollectionExpression expression) void
BaseDeclarationIdentificationVariableFinder.visit
(CollectionExpression expression) -
Uses of CollectionExpression in org.eclipse.persistence.jpa.jpql.parser
Modifier and TypeMethodDescriptionAbstractConditionalClause.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the single select item.final CollectionExpression
AbstractDoubleEncapsulatedExpression.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the first and second expressions.final CollectionExpression
AbstractFromClause.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the single declaration.final CollectionExpression
AbstractOrderByClause.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the single order by item.AbstractSelectClause.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the single select item.final CollectionExpression
AbstractTripleEncapsulatedExpression.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the first, second and third expressions.ConcatExpression.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the single constructor item.ConstructorExpression.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the single constructor item.DeleteClause.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the single range variable declaration.GroupByClause.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the single group by item.IdentificationVariableDeclaration.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the single join expression.UpdateClause.buildCollectionExpression()
Creates a newCollectionExpression
that will wrap the single update item.WhenClause.buildWhenCollectionExpression()
Creates a newCollectionExpression
that will wrap the singleWHEN
expression.Modifier and TypeMethodDescriptionvoid
AbstractExpressionVisitor.visit
(CollectionExpression expression) void
AnonymousExpressionVisitor.visit
(CollectionExpression expression) void
ExpressionVisitor.visit
(CollectionExpression expression) Visits theCollectionExpression
expression. -
Uses of CollectionExpression in org.eclipse.persistence.jpa.jpql.tools
Modifier and TypeFieldDescriptionprotected CollectionExpression
AbstractContentAssistVisitor.AppendableExpressionVisitor.collectionExpression
Caches the visitedCollectionExpression
so a child could use it.protected CollectionExpression
AbstractContentAssistVisitor.CollectionExpressionVisitor.expression
TheCollectionExpression
if it is theExpression
that was visited.Modifier and TypeMethodDescriptionAbstractContentAssistVisitor.AbstractSelectClauseCollectionHelper.buildCollectionExpression
(T expression) AbstractContentAssistVisitor.CollectionExpressionHelper.buildCollectionExpression
(T expression) Either returns the givenExpression
's child, which is already aCollectionExpression
or requests this helper to return a "virtual"CollectionExpression
that is wrapping the single element.AbstractContentAssistVisitor.ConcatExpressionCollectionHelper.buildCollectionExpression
(ConcatExpression expression) AbstractContentAssistVisitor.ConditionalClauseCollectionHelper.buildCollectionExpression
(AbstractConditionalClause expression) AbstractContentAssistVisitor.ConstrutorCollectionHelper.buildCollectionExpression
(ConstructorExpression expression) AbstractContentAssistVisitor.DeleteClauseCollectionHelper.buildCollectionExpression
(DeleteClause expression) AbstractContentAssistVisitor.DoubleEncapsulatedCollectionHelper.buildCollectionExpression
(AbstractDoubleEncapsulatedExpression expression) AbstractContentAssistVisitor.FromClauseCollectionHelper.buildCollectionExpression
(AbstractFromClause expression) AbstractContentAssistVisitor.GroupByClauseCollectionHelper.buildCollectionExpression
(GroupByClause expression) AbstractContentAssistVisitor.JoinCollectionHelper.buildCollectionExpression
(IdentificationVariableDeclaration expression) AbstractContentAssistVisitor.OrderByClauseCollectionHelper.buildCollectionExpression
(AbstractOrderByClause expression) AbstractContentAssistVisitor.TripleEncapsulatedCollectionHelper.buildCollectionExpression
(AbstractTripleEncapsulatedExpression expression) AbstractContentAssistVisitor.UpdateItemCollectionHelper.buildCollectionExpression
(UpdateClause expression) AbstractContentAssistVisitor.WhenClauseConditionalClauseCollectionHelper.buildCollectionExpression
(WhenClause expression) protected CollectionExpression
AbstractContentAssistVisitor.getCollectionExpression
(Expression expression) Casts the givenExpression
to aCollectionExpression
if it is actually an object of that type.Modifier and TypeMethodDescriptionvoid
AbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.addAtTheEndOfChild
(Expression expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.AbstractSelectClauseCollectionHelper.addAtTheEndOfChild
(T expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.CollectionExpressionHelper.addAtTheEndOfChild
(T expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) Adds the proposals because the cursor is at the end of the child at the given position.void
AbstractContentAssistVisitor.ConcatExpressionCollectionHelper.addAtTheEndOfChild
(ConcatExpression expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.ConstrutorCollectionHelper.addAtTheEndOfChild
(ConstructorExpression expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.DeleteClauseCollectionHelper.addAtTheEndOfChild
(DeleteClause expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.DoubleEncapsulatedCollectionHelper.addAtTheEndOfChild
(AbstractDoubleEncapsulatedExpression expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.FromClauseCollectionHelper.addAtTheEndOfChild
(AbstractFromClause expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.GroupByClauseCollectionHelper.addAtTheEndOfChild
(GroupByClause expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.JoinCollectionHelper.addAtTheEndOfChild
(IdentificationVariableDeclaration expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.OrderByClauseCollectionHelper.addAtTheEndOfChild
(AbstractOrderByClause expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.SelectClauseCollectionHelper.addAtTheEndOfChild
(SelectClause expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.TripleEncapsulatedCollectionHelper.addAtTheEndOfChild
(AbstractTripleEncapsulatedExpression expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.UpdateItemCollectionHelper.addAtTheEndOfChild
(UpdateClause expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
EclipseLinkContentAssistVisitor.FromClauseCollectionHelper.addAtTheEndOfChild
(AbstractFromClause expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) void
AbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.addTheBeginningOfChild
(Expression expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.AbstractSelectClauseCollectionHelper.addTheBeginningOfChild
(T expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.CollectionExpressionHelper.addTheBeginningOfChild
(T expression, CollectionExpression collectionExpression, int index, boolean hasComma) Adds the proposals because the cursor is at the beginning of the childExpression
at the given position.void
AbstractContentAssistVisitor.ConcatExpressionCollectionHelper.addTheBeginningOfChild
(ConcatExpression expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.ConstrutorCollectionHelper.addTheBeginningOfChild
(ConstructorExpression expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.DeleteClauseCollectionHelper.addTheBeginningOfChild
(DeleteClause expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.DoubleEncapsulatedCollectionHelper.addTheBeginningOfChild
(AbstractDoubleEncapsulatedExpression expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.FromClauseCollectionHelper.addTheBeginningOfChild
(AbstractFromClause expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.GroupByClauseCollectionHelper.addTheBeginningOfChild
(GroupByClause expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.JoinCollectionHelper.addTheBeginningOfChild
(IdentificationVariableDeclaration expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.OrderByClauseCollectionHelper.addTheBeginningOfChild
(AbstractOrderByClause expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.SelectClauseCollectionHelper.addTheBeginningOfChild
(SelectClause expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.TripleEncapsulatedCollectionHelper.addTheBeginningOfChild
(AbstractTripleEncapsulatedExpression expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
AbstractContentAssistVisitor.UpdateItemCollectionHelper.addTheBeginningOfChild
(UpdateClause expression, CollectionExpression collectionExpression, int index, boolean hasComma) void
EclipseLinkContentAssistVisitor.FromClauseCollectionHelper.addTheBeginningOfChild
(AbstractFromClause expression, CollectionExpression collectionExpression, int index, boolean hasComma) boolean
AbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.canContinue
(Expression expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.AbstractSelectClauseCollectionHelper.canContinue
(T expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.CollectionExpressionHelper.canContinue
(T expression, CollectionExpression collectionExpression, int index) Asks this helper if the search can continue even though two child expressions are not separated by a comma.boolean
AbstractContentAssistVisitor.ConcatExpressionCollectionHelper.canContinue
(ConcatExpression expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.ConstrutorCollectionHelper.canContinue
(ConstructorExpression expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.DeleteClauseCollectionHelper.canContinue
(DeleteClause expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.DoubleEncapsulatedCollectionHelper.canContinue
(AbstractDoubleEncapsulatedExpression expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.FromClauseCollectionHelper.canContinue
(AbstractFromClause expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.GroupByClauseCollectionHelper.canContinue
(GroupByClause expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.JoinCollectionHelper.canContinue
(IdentificationVariableDeclaration expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.OrderByClauseCollectionHelper.canContinue
(AbstractOrderByClause expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.TripleEncapsulatedCollectionHelper.canContinue
(AbstractTripleEncapsulatedExpression expression, CollectionExpression collectionExpression, int index) boolean
AbstractContentAssistVisitor.UpdateItemCollectionHelper.canContinue
(UpdateClause expression, CollectionExpression collectionExpression, int index) protected Object[]
AbstractContentAssistVisitor.AbstractConditionalClauseCollectionHelper.findChild
(CollectionExpression collectionExpression, int index) Handles a special case for a compound identifier like 'IS EMPTY' or 'IS NOT EMPTY'.void
AbstractContentAssistVisitor.AcceptableTypeVisitor.visit
(CollectionExpression expression) void
AbstractContentAssistVisitor.AppendableExpressionVisitor.visit
(CollectionExpression expression) void
AbstractContentAssistVisitor.CollectionExpressionVisitor.visit
(CollectionExpression expression) void
AbstractContentAssistVisitor.EndingQueryPositionBuilder.visit
(CollectionExpression expression) void
AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor.visit
(CollectionExpression expression) void
AbstractContentAssistVisitor.IncompleteCollectionExpressionVisitor.visit
(CollectionExpression expression) void
AbstractContentAssistVisitor.visit
(CollectionExpression expression) void
DefaultSemanticValidator.UpdateClauseAbstractSchemaNameFinder.visit
(CollectionExpression expression) -
Uses of CollectionExpression in org.eclipse.persistence.jpa.jpql.tools.model
Modifier and TypeMethodDescriptionvoid
BasicStateObjectBuilder.CollectionExpressionVisitor.visit
(CollectionExpression expression) void
BasicStateObjectBuilder.JoinBuilder.visit
(CollectionExpression expression) void
BasicStateObjectBuilder.visit
(CollectionExpression expression) -
Uses of CollectionExpression in org.eclipse.persistence.jpa.jpql.tools.model.query
Modifier and TypeMethodDescriptionvoid
CollectionExpressionStateObject.setExpression
(CollectionExpression expression) Keeps a reference of theparsed object
object, which should only be done when this object is instantiated during the conversion of a parsed JPQL query intoStateObjects
. -
Uses of CollectionExpression in org.eclipse.persistence.jpa.jpql.tools.resolver
Modifier and TypeFieldDescriptionprotected CollectionExpression
ResolverBuilder.CollectionExpressionVisitor.expression
TheCollectionExpression
that was visited, otherwisenull
.Modifier and TypeMethodDescriptionprotected CollectionExpression
ResolverBuilder.getCollectionExpression
(Expression expression) Casts the givenExpression
to aCollectionExpression
if it is actually an object of that type.Modifier and TypeMethodDescriptionvoid
DeclarationResolver.DeclarationVisitor.visit
(CollectionExpression expression) void
FromSubqueryResolver.VirtualMappingBuilder.visit
(CollectionExpression expression) void
ResolverBuilder.CollectionExpressionVisitor.visit
(CollectionExpression expression) void
ResolverBuilder.visit
(CollectionExpression expression)