| Package | Description |
|---|---|
| org.eclipse.persistence.jpa.jpql.tools | |
| org.eclipse.persistence.jpa.jpql.tools.model.query |
This package contains the
StateObject classes that represents a JPQL query. |
| org.eclipse.persistence.jpa.jpql.tools.resolver | |
| org.eclipse.persistence.jpa.jpql.tools.spi |
The Hermes SPI defines how the parser and its related features can retrieve information about
the JPA managed types from the application.
|
| Modifier and Type | Field and Description |
|---|---|
protected Filter<IMapping> |
AbstractContentAssistVisitor.FilteringMappingCollector.filter
The
Filter used to filter out either the collection type properties or the non-
collection type properties. |
protected Filter<IMapping> |
AbstractContentAssistVisitor.MappingFilterBuilder.filter
|
| Modifier and Type | Method and Description |
|---|---|
IMapping |
JPQLQueryContext.getMapping(Expression expression)
Returns the
IMapping for the field represented by the given Expression. |
IMapping |
GenericSemanticValidatorHelper.getMappingNamed(Object managedType,
String path)
Returns the mapping with the given name.
|
IMapping |
GenericSemanticValidatorHelper.resolveMapping(Expression expression)
Returns the mapping for the field represented by the given
Expression. |
IMapping |
GenericSemanticValidatorHelper.resolveMapping(String variableName,
String name)
Returns the mapping that should be a persistence field from the entity defined by the given
identification variable.
|
| Modifier and Type | Method and Description |
|---|---|
protected Filter<IMapping> |
AbstractContentAssistVisitor.FilteringMappingCollector.buildFilter(String suffix) |
protected Filter<IMapping> |
AbstractContentAssistVisitor.buildMappingFilter(AbstractPathExpression expression,
Filter<IMapping> filter) |
protected Filter<IMapping> |
AbstractContentAssistVisitor.buildMappingFilter(Expression expression) |
protected Filter<IMapping> |
AbstractContentAssistVisitor.FilteringMappingCollector.buildMappingNameFilter(String suffix) |
Collection<IMapping> |
AbstractContentAssistVisitor.DefaultMappingCollector.buildProposals()
Retrieves the possible proposals that can be used to complete a path expression based on
the position of the cursor.
|
Collection<IMapping> |
AbstractContentAssistVisitor.FilteringMappingCollector.buildProposals()
Retrieves the possible proposals that can be used to complete a path expression based on
the position of the cursor.
|
Collection<IMapping> |
AbstractContentAssistVisitor.MappingCollector.buildProposals()
Retrieves the possible proposals that can be used to complete a path expression based on
the position of the cursor.
|
protected Filter<IMapping> |
AbstractContentAssistVisitor.getMappingCollectionFilter() |
protected Filter<IMapping> |
AbstractContentAssistVisitor.getMappingPropertyFilter() |
Iterable<IMapping> |
DefaultContentAssistProposals.mappings()
Returns the collection of possible
mappings, which can be state fields,
association fields and/or collection fields depending on the location used to retrieve the
possible proposals. |
Iterable<IMapping> |
ContentAssistProposals.mappings()
Returns the collection of possible
mappings, which can be state fields,
association fields and/or collection fields depending on the location used to retrieve the
possible proposals. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractContentAssistVisitor.CollectionMappingFilter.accept(IMapping value)
Determines whether the specified object is "accepted" by the filter.
|
boolean |
AbstractContentAssistVisitor.MappingTypeFilter.accept(IMapping value)
Determines whether the specified object is "accepted" by the filter.
|
boolean |
AbstractContentAssistVisitor.PropertyMappingFilter.accept(IMapping value)
Determines whether the specified object is "accepted" by the filter.
|
void |
DefaultContentAssistProposals.addMapping(IMapping mapping)
Adds the given
mapping (state field, association field or collection field)
as a valid proposal. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractContentAssistVisitor.FilteringMappingCollector.addFilteredMappings(IManagedType managedType,
List<IMapping> mappings) |
void |
DefaultContentAssistProposals.addMappings(Collection<IMapping> mappings)
Adds the given
mappings (state fields, association fields or collection fields)
as valid proposals. |
protected AbstractContentAssistVisitor.FilteringMappingCollector |
AbstractContentAssistVisitor.buildFilteringMappingCollector(AbstractPathExpression expression,
Resolver resolver,
Filter<IMapping> filter,
String pattern) |
protected AbstractContentAssistVisitor.MappingCollector |
AbstractContentAssistVisitor.buildMappingCollector(AbstractPathExpression expression,
Resolver resolver,
Filter<IMapping> filter) |
protected Filter<IMapping> |
AbstractContentAssistVisitor.buildMappingFilter(AbstractPathExpression expression,
Filter<IMapping> filter) |
protected void |
AbstractContentAssistVisitor.visitPathExpression(AbstractPathExpression expression,
Filter<IMapping> filter)
Visits the given
AbstractPathExpression by attempting to resolve the path. |
| Modifier and Type | Method and Description |
|---|---|
IMapping |
IdentificationVariableStateObject.getMapping()
Returns
|
IMapping |
AbstractPathExpressionStateObject.getMapping()
Returns
|
IMapping |
AbstractPathExpressionStateObject.getMapping(int index)
Retrieves the
IMapping for the path at the given position. |
IMapping |
StateFieldPathExpressionStateObject.MapManagedType.getMappingNamed(String name)
Returns the
IMapping with the given name. |
protected IMapping |
IdentificationVariableStateObject.resolveMapping()
Resolves
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<IMapping> |
StateFieldPathExpressionStateObject.MapManagedType.mappings()
Returns the collection of
mappings defined in this managed type. |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
FromSubqueryResolver.VirtualMapping
This virtual
IMapping wraps one of the select items. |
| Modifier and Type | Method and Description |
|---|---|
protected IMapping |
FromSubqueryResolver.VirtualMappingBuilder.buildMapping(String name,
Resolver resolver)
Creates
|
IMapping |
SubqueryEntityResolver.getMapping()
Returns the
IMapping for the wrapped field. |
IMapping |
Resolver.getMapping()
Returns the
IMapping for the wrapped field. |
IMapping |
IdentificationVariableResolver.getMapping()
Returns the
IMapping for the wrapped field. |
IMapping |
AbstractPathResolver.getMapping()
Returns the
IMapping for the wrapped field. |
IMapping |
FromSubqueryResolver.VirtualManagedType.getMappingNamed(String name)
Returns the
IMapping with the given name. |
IMapping |
CollectionValuedFieldResolver.MapManagedType.getMappingNamed(String name)
Returns the
IMapping with the given name. |
IMapping |
Resolver.getParentMapping()
Returns the
IMapping of the parent resolver. |
protected IMapping |
AbstractPathResolver.resolveMapping()
Retrieves the
IMapping for the given property name. |
| Modifier and Type | Method and Description |
|---|---|
Iterable<IMapping> |
FromSubqueryResolver.VirtualManagedType.mappings()
Returns the collection of
mappings defined in this managed type. |
Iterable<IMapping> |
CollectionValuedFieldResolver.MapManagedType.mappings()
Returns the collection of
mappings defined in this managed type. |
| Modifier and Type | Method and Description |
|---|---|
int |
FromSubqueryResolver.VirtualMapping.compareTo(IMapping mapping) |
protected IManagedType |
StateFieldResolver.resolveManagedType(IMapping mapping)
Resolves this path's
IManagedType by using the given IMapping. |
protected IManagedType |
CollectionValuedFieldResolver.resolveManagedType(IMapping mapping)
Resolves this path's
IManagedType by using the given IMapping. |
protected abstract IManagedType |
AbstractPathResolver.resolveManagedType(IMapping mapping)
Resolves this path's
IManagedType by using the given IMapping. |
| Modifier and Type | Method and Description |
|---|---|
IMapping |
IMappingBuilder.buildMapping(IManagedType parent,
T value)
Creates a new
IMapping. |
IMapping |
IManagedType.getMappingNamed(String name)
Returns the
IMapping with the given name. |
| Modifier and Type | Method and Description |
|---|---|
Iterable<IMapping> |
IManagedType.mappings()
Returns the collection of
mappings defined in this managed type. |
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.