| Package | Description |
|---|---|
| com.holonplatform.datastore.jpa.jpql.context |
| Modifier and Type | Interface and Description |
|---|---|
interface |
JPQLStatementResolutionContext
A
JPQLResolutionContext extension which supports statement alias generation and inspection. |
| Modifier and Type | Method and Description |
|---|---|
JPQLResolutionContext |
JPQLResolutionContext.childContext()
Create a new
JPQLResolutionContext as child of this context. |
static JPQLResolutionContext |
JPQLResolutionContext.create(JpaContext context)
Create a new default
JPQLResolutionContext. |
| Modifier and Type | Method and Description |
|---|---|
Optional<JPQLResolutionContext> |
JPQLResolutionContext.getParent()
Get the parent context, if available.
|
static Optional<JPQLResolutionContext> |
JPQLResolutionContext.isJPQLResolutionContext(com.holonplatform.core.ExpressionResolver.ResolutionContext context)
Checks if given
ExpressionResolver.ResolutionContext is a JPQLResolutionContext. |
| Modifier and Type | Method and Description |
|---|---|
static JPQLStatementResolutionContext |
JPQLStatementResolutionContext.asChild(JPQLResolutionContext parent,
com.holonplatform.core.datastore.relational.RelationalTarget<?> rootTarget,
JPQLStatementResolutionContext.AliasMode aliasMode)
Create a new
JPQLStatementResolutionContext as a child of given JPQLResolutionContext. |
static int |
JPQLResolutionContext.getContextSequence(JPQLResolutionContext context,
Class<? extends JPQLResolutionContext> contextType)
Get the given
context hierarchy sequence, where 0 is the sequence number of the root
context. |
Optional<R> |
JPQLContextExpressionResolver.resolve(E expression,
JPQLResolutionContext context)
Resolve given
expression into required expression type. |
| Modifier and Type | Method and Description |
|---|---|
static int |
JPQLResolutionContext.getContextSequence(JPQLResolutionContext context,
Class<? extends JPQLResolutionContext> contextType)
Get the given
context hierarchy sequence, where 0 is the sequence number of the root
context. |
Copyright © 2019 The Holon Platform. All rights reserved.