RangeDeclaration represents an identification variable declaration that was
declared in the FROM clause of a SELECT top-level query
or subquery.
IdentificationVariableDeclaration
| Modifier and Type | Field and Description |
|---|---|
| private List | joinFetches
The list of JOIN FETCH expressions that are declared in the same declaration than the range variable declaration. |
| public Class | type
If the "root" path is the fully qualified class name, then this will be set. |
| Access | Constructor and Description |
|---|---|
| pack-priv | RangeDeclaration(JPQLQueryContext
The context used to query information about the application metadata and
cached information queryContext)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addJoin(Join
The join)Join that is declared in the range variable declarationOverrides org. Join.
|
| private void | |
| pack-priv Expression | buildQueryExpression()
Implements abstract org. Expression for this Declaration.
|
| private void | convertUnqualifiedDeclaration()
Converts the given |
| pack-priv List | Returns: The ordered list of JOIN FETCH expressions or an empty collection if none was presentReturns the JOIN FETCH expressions that were part of the range variable declaration in the ordered they were parsed. |
| public JPQLQueryDeclaration. | getType()
Implements org. |
| public boolean | Returns: true if it is the fully qualified class name; false if it
is the entity nameDetermines whether the "root" path is either the abstract schema name (entity name) or the abstract schema name. |
| pack-priv ClassDescriptor | resolveDescriptor()
Implements abstract org. Declaration and returns the associated ClassDescriptor.
|
| pack-priv DatabaseMapping | resolveMapping()
Implements abstract org. Declaration and returns the associated DatabaseMapping if this
represents a path expression.
|
| joinFetches | back to summary |
|---|---|
| private List<Join> joinFetches The list of JOIN FETCH expressions that are declared in the same declaration than the range variable declaration. | |
| type | back to summary |
|---|---|
| public Class<?> type If the "root" path is the fully qualified class name, then this will be set. | |
| RangeDeclaration | back to summary |
|---|---|
| pack-priv RangeDeclaration(JPQLQueryContext queryContext) Creates a new
| |
| addJoin | back to summary |
|---|---|
| pack-priv void addJoin(Join join) Overrides org. Doc from org. Adds the given | |
| addJoinFetch | back to summary |
|---|---|
| private void addJoinFetch(Join join) | |
| buildQueryExpression | back to summary |
|---|---|
| pack-priv Expression buildQueryExpression() Implements abstract org. Doc from org. Creates the Expression
| |
| convertUnqualifiedDeclaration | back to summary |
|---|---|
| private void convertUnqualifiedDeclaration() Converts the given
In this query " | |
| getJoinFetches | back to summary |
|---|---|
| pack-priv List Returns the JOIN FETCH expressions that were part of the range variable declaration in the ordered they were parsed. | |
| getType | back to summary |
|---|---|
| public JPQLQueryDeclaration. Implements org. Doc from org. Determines the type this declaration represents.
| |
| isFullyQualifiedClassName | back to summary |
|---|---|
| public boolean isFullyQualifiedClassName() Determines whether the "root" path is either the abstract schema name (entity name) or the abstract schema name.
| |
| resolveDescriptor | back to summary |
|---|---|
| pack-priv ClassDescriptor resolveDescriptor() Implements abstract org. Doc from org. Resolves this
| |
| resolveMapping | back to summary |
|---|---|
| pack-priv DatabaseMapping resolveMapping() Implements abstract org. Doc from org. Resolves this
| |