T - The concrete builder typeServiceProviderBaseSubqueryBuilder<X>, CriteriaBuilder<T>, DeleteCriteriaBuilder<T>, InsertCriteriaBuilder<T>, LeafOngoingSetOperationSubqueryBuilder<X>, ModificationCriteriaBuilder<X>, OngoingSetOperationSubqueryBuilder<T,Y>, StartOngoingSetOperationSubqueryBuilder<X,Y>, SubqueryBuilder<T>, UpdateCriteriaBuilder<T>public interface CTEBuilder<T extends CTEBuilder<T>> extends ServiceProvider
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasCte(Class<?> cte) |
Returns whether a CTE for the given type is defined.
|
FullSelectCTECriteriaBuilder<T> |
with(Class<?> cteClass) |
Creates a builder for a CTE with the given CTE type.
|
FullSelectCTECriteriaBuilder<T> |
with(Class<?> cteClass,
boolean inline) |
Like
with(Class) but with the option to define whether the query should be inlined. |
FullSelectCTECriteriaBuilder<T> |
with(Class<?> cteClass,
CriteriaBuilder<?> criteriaBuilder) |
Creates a builder for a CTE with the given CTE type with the given criteria builder as basis.
|
FullSelectCTECriteriaBuilder<T> |
with(Class<?> cteClass,
CriteriaBuilder<?> criteriaBuilder,
boolean inline) |
Like
with(Class, CriteriaBuilder) but with the option to define whether the query should be inlined. |
T |
withCtesFrom(CTEBuilder<?> cteBuilder) |
Copies the CTEs from the given CTE builder into this CTE builder.
|
SelectRecursiveCTECriteriaBuilder<T> |
withRecursive(Class<?> cteClass) |
Creates a builder for a recursive CTE with the given CTE type.
|
ReturningModificationCriteriaBuilderFactory<T> |
withReturning(Class<?> cteClass) |
Creates a builder for a modification CTE with the given CTE type.
|
StartOngoingSetOperationCTECriteriaBuilder<T,LeafOngoingFinalSetOperationCTECriteriaBuilder<T>> |
withStartSet(Class<?> cteClass) |
Creates a builder for a CTE with a nested set operation builder.
|
StartOngoingSetOperationCTECriteriaBuilder<T,LeafOngoingFinalSetOperationCTECriteriaBuilder<T>> |
withStartSet(Class<?> cteClass,
boolean inline) |
Like
withStartSet(Class) but with the option to define whether the query should be inlined. |
getServiceFullSelectCTECriteriaBuilder<T> with(Class<?> cteClass)
cteClass - The type of the CTEFullSelectCTECriteriaBuilder<T> with(Class<?> cteClass, CriteriaBuilder<?> criteriaBuilder)
cteClass - The type of the CTEcriteriaBuilder - The criteria builder to copy the query fromFullSelectCTECriteriaBuilder<T> with(Class<?> cteClass, boolean inline)
with(Class) but with the option to define whether the query should be inlined.cteClass - The type of the CTEinline - Whether to inline the query defined by the CTEFullSelectCTECriteriaBuilder<T> with(Class<?> cteClass, CriteriaBuilder<?> criteriaBuilder, boolean inline)
with(Class, CriteriaBuilder) but with the option to define whether the query should be inlined.cteClass - The type of the CTEcriteriaBuilder - The criteria builder to copy the query frominline - Whether to inline the query defined by the CTET withCtesFrom(CTEBuilder<?> cteBuilder)
cteBuilder - The CTE builder from which to copy CTEsStartOngoingSetOperationCTECriteriaBuilder<T,LeafOngoingFinalSetOperationCTECriteriaBuilder<T>> withStartSet(Class<?> cteClass)
cteClass - The type of the CTEStartOngoingSetOperationCTECriteriaBuilder<T,LeafOngoingFinalSetOperationCTECriteriaBuilder<T>> withStartSet(Class<?> cteClass, boolean inline)
withStartSet(Class) but with the option to define whether the query should be inlined.cteClass - The type of the CTEinline - Whether to inline the query defined by the CTESelectRecursiveCTECriteriaBuilder<T> withRecursive(Class<?> cteClass)
cteClass - The type of the CTEReturningModificationCriteriaBuilderFactory<T> withReturning(Class<?> cteClass)
cteClass - The type of the CTEboolean hasCte(Class<?> cte)
cte - The type of the CTE to checkCopyright © 2014–2020 Blazebit. All rights reserved.