| Modifier and Type | Interface and Description |
|---|---|
interface |
SQLStatementCompositionContext
A
SQLCompositionContext extension which supports statement alias generation and inspection. |
| Modifier and Type | Method and Description |
|---|---|
SQLCompositionContext |
SQLCompositionContext.childContext()
Create a new
SQLCompositionContext as child of this context. |
static SQLCompositionContext |
SQLCompositionContext.create(SQLContext context)
Create a new default
SQLCompositionContext. |
| Modifier and Type | Method and Description |
|---|---|
Optional<SQLCompositionContext> |
SQLCompositionContext.getParent()
Get the parent context, if available.
|
static Optional<SQLCompositionContext> |
SQLCompositionContext.isSQLCompositionContext(com.holonplatform.core.ExpressionResolver.ResolutionContext context)
Checks if given
ExpressionResolver.ResolutionContext is a SQLCompositionContext. |
| Modifier and Type | Method and Description |
|---|---|
static SQLStatementCompositionContext |
SQLStatementCompositionContext.asChild(SQLCompositionContext parent,
com.holonplatform.core.datastore.relational.RelationalTarget<?> rootTarget,
SQLStatementCompositionContext.AliasMode aliasMode)
Create a new
SQLStatementCompositionContext as a child of given SQLCompositionContext. |
static int |
SQLCompositionContext.getContextSequence(SQLCompositionContext context,
Class<? extends SQLCompositionContext> contextType)
Get the given
context hierarchy sequence, where 0 is the sequence number of the root
context. |
| Modifier and Type | Method and Description |
|---|---|
static int |
SQLCompositionContext.getContextSequence(SQLCompositionContext context,
Class<? extends SQLCompositionContext> contextType)
Get the given
context hierarchy sequence, where 0 is the sequence number of the root
context. |
| Modifier and Type | Method and Description |
|---|---|
static <R> SQLProjection.MutableSQLProjection<R> |
SQLProjection.create(Class<? extends R> projectionType,
SQLCompositionContext context)
Create a new
SQLProjection. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultSQLCompositionContext
Default
SQLCompositionContext implementation. |
class |
DefaultSQLStatementCompositionContext
Default
SQLStatementCompositionContext implementation. |
| Modifier and Type | Method and Description |
|---|---|
SQLCompositionContext |
DefaultSQLCompositionContext.childContext() |
| Modifier and Type | Method and Description |
|---|---|
Optional<SQLCompositionContext> |
DefaultSQLCompositionContext.getParent() |
| Constructor and Description |
|---|
DefaultSQLCompositionContext(SQLCompositionContext parent)
Constructor with parent composition context.
|
DefaultSQLStatementCompositionContext(SQLCompositionContext parent,
com.holonplatform.core.datastore.relational.RelationalTarget<?> rootTarget,
SQLStatementCompositionContext.AliasMode aliasMode)
Constructor with parent composition context.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<R> |
SQLContextExpressionResolver.resolve(E expression,
SQLCompositionContext context)
Resolve given
expression into required expression type. |
Copyright © 2019 The Holon Platform. All rights reserved.