Uses of Interface
org.eclipse.persistence.jpa.jpql.tools.spi.IMapping
Package
Description
This package contains the
StateObject
classes that represents a JPQL query.The Hermes SPI defines how the parser and its related features can retrieve information about
the JPA managed types from the application.
-
Uses of IMapping in org.eclipse.persistence.jpa.jpql.tools
Modifier and TypeFieldDescriptionAbstractContentAssistVisitor.FilteringMappingCollector.filter
TheFilter
used to filter out either the collection type properties or the non- collection type properties.AbstractContentAssistVisitor.MappingFilterBuilder.filter
Modifier and TypeMethodDescriptionJPQLQueryContext.getMapping
(Expression expression) Returns theIMapping
for the field represented by the givenExpression
.GenericSemanticValidatorHelper.getMappingNamed
(Object managedType, String path) GenericSemanticValidatorHelper.resolveMapping
(String variableName, String name) GenericSemanticValidatorHelper.resolveMapping
(Expression expression) Modifier and TypeMethodDescriptionAbstractContentAssistVisitor.FilteringMappingCollector.buildFilter
(String suffix) AbstractContentAssistVisitor.buildMappingFilter
(AbstractPathExpression expression, Filter<IMapping> filter) AbstractContentAssistVisitor.buildMappingFilter
(Expression expression) AbstractContentAssistVisitor.FilteringMappingCollector.buildMappingNameFilter
(String suffix) AbstractContentAssistVisitor.DefaultMappingCollector.buildProposals()
AbstractContentAssistVisitor.FilteringMappingCollector.buildProposals()
AbstractContentAssistVisitor.MappingCollector.buildProposals()
Retrieves the possible proposals that can be used to complete a path expression based on the position of the cursor.AbstractContentAssistVisitor.getMappingCollectionFilter()
AbstractContentAssistVisitor.getMappingPropertyFilter()
ContentAssistProposals.mappings()
Returns the collection of possiblemappings
, which can be state fields, association fields and/or collection fields depending on the location used to retrieve the possible proposals.DefaultContentAssistProposals.mappings()
Modifier and TypeMethodDescriptionboolean
boolean
boolean
void
DefaultContentAssistProposals.addMapping
(IMapping mapping) Adds the givenmapping
(state field, association field or collection field) as a valid proposal.Modifier and TypeMethodDescriptionprotected void
AbstractContentAssistVisitor.FilteringMappingCollector.addFilteredMappings
(IManagedType managedType, List<IMapping> mappings) void
DefaultContentAssistProposals.addMappings
(Collection<IMapping> mappings) Adds the givenmappings
(state fields, association fields or collection fields) as valid proposals.AbstractContentAssistVisitor.buildFilteringMappingCollector
(AbstractPathExpression expression, Resolver resolver, Filter<IMapping> filter, String pattern) AbstractContentAssistVisitor.buildMappingCollector
(AbstractPathExpression expression, Resolver resolver, Filter<IMapping> filter) AbstractContentAssistVisitor.buildMappingFilter
(AbstractPathExpression expression, Filter<IMapping> filter) protected void
AbstractContentAssistVisitor.visitPathExpression
(AbstractPathExpression expression, Filter<IMapping> filter) Visits the givenAbstractPathExpression
by attempting to resolve the path. -
Uses of IMapping in org.eclipse.persistence.jpa.jpql.tools.model.query
Modifier and TypeMethodDescriptionAbstractPathExpressionStateObject.getMapping()
ReturnsAbstractPathExpressionStateObject.getMapping
(int index) Retrieves theIMapping
for the path at the given position.IdentificationVariableStateObject.getMapping()
ReturnsStateFieldPathExpressionStateObject.MapManagedType.getMappingNamed
(String name) protected IMapping
IdentificationVariableStateObject.resolveMapping()
Resolves -
Uses of IMapping in org.eclipse.persistence.jpa.jpql.tools.resolver
Modifier and TypeClassDescriptionprotected static class
This virtualIMapping
wraps one of the select items.Modifier and TypeMethodDescriptionprotected IMapping
FromSubqueryResolver.VirtualMappingBuilder.buildMapping
(String name, Resolver resolver) Createsfinal IMapping
AbstractPathResolver.getMapping()
IdentificationVariableResolver.getMapping()
Resolver.getMapping()
Returns theIMapping
for the wrapped field.SubqueryEntityResolver.getMapping()
CollectionValuedFieldResolver.MapManagedType.getMappingNamed
(String name) FromSubqueryResolver.VirtualManagedType.getMappingNamed
(String name) final IMapping
Resolver.getParentMapping()
Returns theIMapping
of the parent resolver.protected IMapping
AbstractPathResolver.resolveMapping()
Retrieves theIMapping
for the given property name.Modifier and TypeMethodDescriptionCollectionValuedFieldResolver.MapManagedType.mappings()
FromSubqueryResolver.VirtualManagedType.mappings()
Modifier and TypeMethodDescriptionint
protected abstract IManagedType
AbstractPathResolver.resolveManagedType
(IMapping mapping) Resolves this path'sIManagedType
by using the givenIMapping
.protected IManagedType
CollectionValuedFieldResolver.resolveManagedType
(IMapping mapping) protected IManagedType
StateFieldResolver.resolveManagedType
(IMapping mapping) -
Uses of IMapping in org.eclipse.persistence.jpa.jpql.tools.spi
Modifier and TypeMethodDescriptionIMappingBuilder.buildMapping
(IManagedType parent, T value) Creates a newIMapping
.IManagedType.getMappingNamed
(String name) Returns theIMapping
with the given name.