Declaration is the corresponding representation of a single declaration defined in
the FROM clause of a query.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Expression | baseExpression
TODO. |
| pack-priv Expression | declarationExpression
The declaration expression, which is either an
|
| private ClassDescriptor | descriptor
The cached |
| pack-priv IdentificationVariable | identificationVariable
The |
| private DatabaseMapping | mapping
The cached |
| pack-priv final JPQLQueryContext | queryContext
The |
| private Expression | queryExpression
The |
| pack-priv String | rootPath
The "root" object for objects which may not be reachable by navigation, it is either the
abstract schema name (entity name), a derived path expression (which is only defined in a
subquery) or |
| Access | Constructor and Description |
|---|---|
| pack-priv | Declaration(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 abstract Expression | Returns: A newExpressionCreates the Expression |
| public Expression | getBaseExpression()
Implements org. |
| public Expression | getDeclarationExpression()
Implements org. IdentificationVariableDeclaration
or a CollectionMemberDeclaration
when part of a FROM clause, otherwise it's either the DeleteClause or the UpdateClause.
|
| pack-priv final ClassDescriptor | Returns: The descriptor of the "root" pathReturns the |
| public List | getJoins()
Implements org. JOIN expressions defined with this declaration, if supported.
|
| pack-priv final DatabaseMapping | getMapping()
Returns the |
| pack-priv final Expression | |
| public final String | getVariableName()
Implements org. |
| public boolean | hasJoins()
Implements org. |
| pack-priv abstract ClassDescriptor | Returns: The descriptor associated with this declarationResolves this |
| pack-priv abstract DatabaseMapping | Returns: The mapping associated with this declarationResolves this |
| public String |
| baseExpression | back to summary |
|---|---|
| pack-priv Expression baseExpression TODO. | |
| declarationExpression | back to summary |
|---|---|
| pack-priv Expression declarationExpression The declaration expression, which is either an
| |
| descriptor | back to summary |
|---|---|
| private ClassDescriptor descriptor The cached | |
| identificationVariable | back to summary |
|---|---|
| pack-priv IdentificationVariable identificationVariable The | |
| mapping | back to summary |
|---|---|
| private DatabaseMapping mapping The cached | |
| queryContext | back to summary |
|---|---|
| pack-priv final JPQLQueryContext queryContext The | |
| queryExpression | back to summary |
|---|---|
| private Expression queryExpression The | |
| rootPath | back to summary |
|---|---|
| pack-priv String rootPath The "root" object for objects which may not be reachable by navigation, it is either the
abstract schema name (entity name), a derived path expression (which is only defined in a
subquery) or | |
| Declaration | back to summary |
|---|---|
| pack-priv Declaration(JPQLQueryContext queryContext) Creates a new
| |
| buildQueryExpression | back to summary |
|---|---|
| pack-priv abstract Expression buildQueryExpression() Creates the Expression
| |
| getBaseExpression | back to summary |
|---|---|
| public Expression getBaseExpression() Implements org. Doc from org. Returns the range variable declaration if this is a range declaration otherwise the collection-valued path expression when this is a collection member declaration.
| |
| getDeclarationExpression | back to summary |
|---|---|
| public Expression getDeclarationExpression() Implements org. Doc from org. Returns the declaration expression, which is either an
| |
| getDescriptor | back to summary |
|---|---|
| pack-priv final ClassDescriptor getDescriptor() Returns the
| |
| getJoins | back to summary |
|---|---|
| public List Implements org. Doc from org. Returns the | |
| getMapping | back to summary |
|---|---|
| pack-priv final DatabaseMapping getMapping() Returns the
| |
| getQueryExpression | back to summary |
|---|---|
| pack-priv final Expression getQueryExpression() Returns the Expression
| |
| getVariableName | back to summary |
|---|---|
| public final String getVariableName() Implements org. Doc from org. Returns the identification variable name that is defining either the abstract schema name or the collection-valued path expression | |
| hasJoins | back to summary |
|---|---|
| public boolean hasJoins() Implements org. Doc from org. Determines whether the declaration contains JOIN expressions. This can be
| |
| resolveDescriptor | back to summary |
|---|---|
| pack-priv abstract ClassDescriptor resolveDescriptor() Resolves this
| |
| resolveMapping | back to summary |
|---|---|
| pack-priv abstract DatabaseMapping resolveMapping() Resolves this
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |