| Package | Description |
|---|---|
| org.eclipse.persistence.jpa.jpql.tools | |
| org.eclipse.persistence.jpa.jpql.tools.resolver |
| Modifier and Type | Field and Description |
|---|---|
protected Resolver |
AbstractContentAssistVisitor.FilteringMappingCollector.resolver
This resolver is used to retrieve the managed type, which is the parent path of this one.
|
| Modifier and Type | Method and Description |
|---|---|
Resolver |
JPQLQueryContext.getResolver(Expression expression)
Creates or retrieved the cached
Resolver for the given Expression. |
Resolver |
JPQLQueryContext.getResolver(String variableName)
Retrieves the
Resolver mapped with the given identification variable. |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbsFunctionResolver
|
class |
AbstractPathResolver
This
Resolver is responsible to resolve a single path of a path expression (state field
path expression, singled valued object field, or a collection-valued path expression). |
class |
ClassNameResolver
|
class |
ClassResolver
This
Resolver simply holds onto the actual type since it is already determined. |
class |
CollectionEquivalentResolver
This
Resolver compares each IType retrieved from the list of Resolvers that were gathered for a given Expression and returns that type if they are all the same type otherwise the IType for
Object is returned. |
class |
CollectionValuedFieldResolver
This
Resolver is responsible to resolve the type of a collection-valued field. |
class |
DeclarationResolver
This
Resolver is responsible to visit the current query (which is either the top-level
query or a subquery) and gathers the information from the declaration clause. |
class |
EclipseLinkDeclarationResolver
The EclipseLink implementation of
DeclarationResolver that adds support for its
additional support. |
class |
EntityResolver
This
Resolver retrieves the type for an abstract schema name (entity name). |
class |
EnumLiteralResolver
This
Resolver retrieves the type for an enum constant. |
class |
FromSubqueryResolver
This
Resolver wraps a subquery that is used as the "root" object in a query's declaration. |
class |
IdentificationVariableResolver
This
Resolver is responsible to resolve the type of an identification variable. |
class |
KeyResolver
|
class |
NullResolver
A "null" implementation of a
Resolver. |
class |
NumericResolver
|
class |
StateFieldResolver
This
Resolver is responsible to resolve the type of a state field, which is the leaf of
the state field path expression. |
class |
SubqueryEntityResolver
This
Resolver retrieves the type for an abstract schema name (entity name) if it can
be resolved otherwise a derived path will be assumed. |
class |
SumFunctionResolver
This
Resolver is responsible to calculate the type based on the type of the state field. |
class |
TreatResolver
This
Resolver resolves a path and casts it as another entity type. |
class |
ValueResolver
|
| Modifier and Type | Field and Description |
|---|---|
protected Resolver |
ResolverBuilder.resolver
The
Resolver for the Expression that was visited. |
protected Resolver |
DeclarationResolver.RootObjectExpressionVisitor.resolver
The
Resolver of the "root" object. |
| Modifier and Type | Method and Description |
|---|---|
protected Resolver |
ResolverBuilder.buildClassNameResolver(String typeName)
Creates a new {link Resolver} that simply wraps the already determined type by using its
fully qualified class name.
|
protected Resolver |
ResolverBuilder.buildClassResolver(Class<?> type)
Creates a new {link Resolver} that simply wraps the already determined type.
|
protected Resolver |
ResolverBuilder.buildCollectionValuedFieldResolver(String variableName)
Creates a new
Resolver for the given collection-valued path expression. |
protected Resolver |
ResolverBuilder.buildEnumResolver(AbstractPathExpression expression,
IType type,
String enumLiteral)
Creates a new
Resolver that will resolve the given enum literal. |
protected Resolver |
ResolverBuilder.buildNullResolver()
Creates a new
Resolver that is used when nothing can be resolved. |
protected Resolver |
ResolverBuilder.buildStateFieldResolver(String variableName)
Creates a new
Resolver for the given state field path expression. |
Resolver |
Resolver.getChild(String variableName)
Retrieves the child of this
Resolver that has the given variable name. |
Resolver |
Resolver.getParent()
Returns the parent of this
Resolver. |
Resolver |
ResolverBuilder.getResolver()
Returns the current
Resolver used to resolve an Expression. |
Resolver |
DeclarationResolver.getResolver(String variableName)
Retrieves the
Resolver mapped with the given identification variable. |
protected Resolver |
DeclarationResolver.getResolverImp(String variableName)
Retrieves the
Resolver mapped with the given identification variable. |
protected Resolver |
SubqueryEntityResolver.resolveDerivePathResolver()
Creates the
Resolver for a unqualified derived path expression. |
protected Resolver |
DeclarationResolver.resolveRootObject(Expression expression)
Resolves the "root" object represented by the given
Expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
Resolver.addChild(String variableName,
Resolver resolver)
Caches the given
Resolver. |
protected IMapping |
FromSubqueryResolver.VirtualMappingBuilder.buildMapping(String name,
Resolver resolver)
Creates
|
protected void |
Resolver.checkParent(Resolver parent) |
protected void |
DeclarationResolver.checkParent(Resolver parent) |
| Constructor and Description |
|---|
AbsFunctionResolver(Resolver parent)
Creates a new
AbsFunctionResolver. |
AbstractPathResolver(Resolver parent,
String path)
Creates a new
AbstractPathResolver. |
ClassNameResolver(Resolver parent,
String className)
Creates a new
ClassNameResolver. |
ClassResolver(Resolver parent,
Class<?> javaType)
Creates a new
ClassResolver. |
CollectionEquivalentResolver(Resolver parent,
List<Resolver> resolvers)
Creates a new
CollectionEquivalentResolver. |
CollectionValuedFieldResolver(Resolver parent,
String path)
Creates a new
CollectionValuedFieldResolver. |
EntityResolver(Resolver parent,
String abstractSchemaName)
Creates a new
EntityResolver. |
EnumLiteralResolver(Resolver parent,
IType type,
String enumLiteral)
Creates a new
EnumLiteralResolver. |
FromSubqueryResolver(Resolver parent,
JPQLQueryContext queryContext,
SimpleSelectStatement subquery)
Creates a new
FromSubqueryResolver. |
IdentificationVariableResolver(Resolver parent,
String variableName)
Creates a new
IdentificationVariableResolver. |
KeyResolver(Resolver parent)
Creates a new
KeyResolver. |
NullResolver(Resolver parent)
Creates a new
NullResolver. |
NumericResolver(Resolver parent,
Collection<Resolver> typeResolvers)
Creates a new
NumericResolver. |
NumericResolver(Resolver parent,
Resolver resolver)
Creates a new
NumericResolver. |
Resolver(Resolver parent)
Creates a new
Resolver. |
StateFieldResolver(Resolver parent,
String path)
Creates a new
StateFieldResolver. |
SubqueryEntityResolver(Resolver parent,
JPQLQueryContext queryContext,
AbstractSchemaName abstractSchemaName)
Creates a new
DerivedPathResolver. |
SumFunctionResolver(Resolver parent)
Creates a new
SumFunctionResolver. |
TreatResolver(Resolver parent,
String entityTypeName)
Creates a new
TreatResolver. |
ValueResolver(Resolver parent)
Creates a new
ValueResolver. |
VirtualMapping(IManagedType parent,
String name,
Resolver resolver,
org.eclipse.persistence.jpa.jpql.tools.resolver.FromSubqueryResolver.MappingType mappingType) |
| Constructor and Description |
|---|
CollectionEquivalentResolver(Resolver parent,
List<Resolver> resolvers)
Creates a new
CollectionEquivalentResolver. |
NumericResolver(Resolver parent,
Collection<Resolver> typeResolvers)
Creates a new
NumericResolver. |
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.