Resolver wraps a subquery that is used as the "root" object in a query's declaration.
Example:
SELECT e.firstName
FROM Employee e, (SELECT count(e2), e2.firstName FROM Employee e2) e3
WHERE e.firstName = e3.firstName
| Modifier and Type | Class and Description |
|---|---|
| private static enum | |
| protected class | FromSubqueryResolver.VirtualManagedType
This |
| protected static class | FromSubqueryResolver.VirtualMapping
This virtual |
| protected class | FromSubqueryResolver.VirtualMappingBuilder
This visitor will traverse the |
| Modifier and Type | Field and Description |
|---|---|
| private IManagedType | managedType
The virtual |
| private JPQLQueryContext | queryContext
The |
| private SimpleSelectStatement | subquery
The subquery being defined as a "root" object. |
| Access | Constructor and Description |
|---|---|
| public | FromSubqueryResolver(Resolver
The parent of this resolver, which is never parent, JPQLQueryContext nullThe context used to query information about the application metadata and
cached information queryContext, SimpleSelectStatement subquery)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| protected IType | buildType()
Overrides org. IType of the property handled by this Resolver.
|
| protected ITypeDeclaration | buildTypeDeclaration()
Implements abstract org. ITypeDeclaration of the property handled by this Resolver.
|
| public IManagedType | getManagedType()
Overrides org. IManagedType associated with the field handled by this Resolver.
|