Package com.blazebit.persistence
Interface FromBuilder<X extends FromBuilder<X>>
- Type Parameters:
X
- The concrete builder type
- All Superinterfaces:
FromBaseBuilder<X>
,FromProvider
- All Known Subinterfaces:
BaseCriteriaBuilder<T,X>
,BaseCTECriteriaBuilder<X>
,BaseDeleteCriteriaBuilder<T,X>
,BaseFromQueryBuilder<T,X>
,BaseInsertCriteriaBuilder<T,X>
,BaseModificationCriteriaBuilder<X>
,BaseQueryBuilder<T,X>
,BaseSubqueryBuilder<X>
,BaseUpdateCriteriaBuilder<T,X>
,CorrelationQueryBuilder<X>
,CriteriaBuilder<T>
,DeleteCriteriaBuilder<T>
,FullQueryBuilder<T,X>
,FullSelectCTECriteriaBuilder<X>
,InsertCriteriaBuilder<T>
,LeafOngoingSetOperationCriteriaBuilder<X>
,LeafOngoingSetOperationCTECriteriaBuilder<X>
,LeafOngoingSetOperationSubqueryBuilder<X>
,ModificationCriteriaBuilder<X>
,OngoingSetOperationCriteriaBuilder<T,Y>
,OngoingSetOperationCTECriteriaBuilder<T,Y>
,OngoingSetOperationSubqueryBuilder<T,Y>
,PaginatedCriteriaBuilder<T>
,QueryBuilder<T,X>
,ReturningDeleteCriteriaBuilder<T,X>
,ReturningInsertCriteriaBuilder<T,X>
,ReturningModificationCriteriaBuilder<X,Y>
,ReturningUpdateCriteriaBuilder<T,X>
,SelectBaseCTECriteriaBuilder<X>
,SelectCTECriteriaBuilder<X>
,SelectRecursiveCTECriteriaBuilder<X>
,StartOngoingSetOperationCriteriaBuilder<X,Y>
,StartOngoingSetOperationCTECriteriaBuilder<X,Y>
,StartOngoingSetOperationSubqueryBuilder<X,Y>
,SubqueryBuilder<T>
,UpdateCriteriaBuilder<T>
public interface FromBuilder<X extends FromBuilder<X>> extends FromBaseBuilder<X>, FromProvider
An interface for builders that support the from clause.
- Since:
- 1.1.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type Method Description X
from(Class<?> entityClass)
LikeFromBaseBuilder.from(Class, String)
with the alias equivalent to the camel cased result of whatClass.getSimpleName()
of the entity class returns.X
from(Class<?> entityClass, String alias)
Sets the entity class on which the query should be based on with the given alias.X
from(javax.persistence.metamodel.EntityType<?> entityType)
LikeFromBaseBuilder.from(EntityType, String)
with the alias equivalent to the camel cased result of whatEntityType.getName()
of the entity class returns.X
from(javax.persistence.metamodel.EntityType<?> entityType, String alias)
Sets the entity class on which the query should be based on with the given alias.X
fromIdentifiableValues(Class<?> valueClass, String alias, int valueCount)
Add a VALUES clause for values of the given value class to the from clause.X
fromIdentifiableValues(Class<?> valueClass, String identifierAttribute, String alias, int valueCount)
Add a VALUES clause for values of the given value class to the from clause.<T> X
fromIdentifiableValues(Class<T> valueClass, String identifierAttribute, String alias, Collection<T> values)
LikeFromBaseBuilder.fromIdentifiableValues(Class, String, String, int)
but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object)
.<T> X
fromIdentifiableValues(Class<T> valueClass, String alias, Collection<T> values)
LikeFromBaseBuilder.fromIdentifiableValues(Class, String, int)
but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object)
.X
fromNew(Class<?> entityClass)
LikeFromBaseBuilder.from(Class)
but explicitly queries the data after any side effects happen because of CTEs.X
fromNew(Class<?> entityClass, String alias)
LikeFromBaseBuilder.from(Class, String)
but explicitly queries the data after any side effects happen because of CTEs.X
fromOld(Class<?> entityClass)
LikeFromBaseBuilder.from(Class)
but explicitly queries the data before any side effects happen because of CTEs.X
fromOld(Class<?> entityClass, String alias)
LikeFromBaseBuilder.from(Class, String)
but explicitly queries the data before any side effects happen because of CTEs.X
fromValues(Class<?> valueClass, String alias, int valueCount)
Add a VALUES clause for values of the given value class to the from clause.X
fromValues(Class<?> entityBaseClass, String attributeName, String alias, int valueCount)
Add a VALUES clause for values of the type as determined by the given entity attribute to the from clause.X
fromValues(Class<?> entityBaseClass, String attributeName, String alias, Collection<?> values)
LikeFromBaseBuilder.fromValues(Class, String, String, int)
but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object)
.<T> X
fromValues(Class<T> valueClass, String alias, Collection<T> values)
LikeFromBaseBuilder.fromValues(Class, String, int)
but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object)
.From
getFrom(String alias)
Returns the from element for the given alias or null.From
getFromByPath(String path)
Returns the from element for the given path, creating it if necessary.Path
getPath(String path)
Returns the path object for the given path string, creating it if necessary.Set<From>
getRoots()
Returns the query roots.X
innerJoin(String path, String alias)
X
innerJoinDefault(String path, String alias)
JoinOnBuilder<X>
innerJoinDefaultOn(String path, String alias)
<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZinnerJoinLateralEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZinnerJoinLateralEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZinnerJoinLateralEntitySubquery(String correlationPath, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZinnerJoinLateralEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZinnerJoinLateralEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinLateralOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinLateralOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinLateralOnEntitySubquery(String correlationPath, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinLateralOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinLateralOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
innerJoinLateralOnSubquery(Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
innerJoinLateralOnSubquery(String base, Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
innerJoinLateralOnSubquery(String correlationPath, String alias, String subqueryAlias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
innerJoinLateralOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
innerJoinLateralOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)
FullSelectCTECriteriaBuilder<X>
innerJoinLateralSubquery(Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<X>
innerJoinLateralSubquery(String base, Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<X>
innerJoinLateralSubquery(String correlationPath, String alias, String subqueryAlias)
FullSelectCTECriteriaBuilder<X>
innerJoinLateralSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
FullSelectCTECriteriaBuilder<X>
innerJoinLateralSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)
JoinOnBuilder<X>
innerJoinOn(Class<?> entityClass, String alias)
JoinOnBuilder<X>
innerJoinOn(String base, Class<?> entityClass, String alias)
JoinOnBuilder<X>
innerJoinOn(String path, String alias)
JoinOnBuilder<X>
innerJoinOn(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
JoinOnBuilder<X>
innerJoinOn(javax.persistence.metamodel.EntityType<?> entityType, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinOnEntitySubquery(Class<?> entityClass, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinOnEntitySubquery(String base, Class<?> entityClass, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZinnerJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
innerJoinOnSubquery(Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
innerJoinOnSubquery(String base, Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
innerJoinOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
innerJoinOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)
X
join(String path, String alias, JoinType type)
Adds a join to the query, possibly specializing implicit joins, and giving the joined element an alias.X
joinDefault(String path, String alias, JoinType type)
Adds a join to the query, possibly specializing implicit joins, and giving the joined element an alias.JoinOnBuilder<X>
joinDefaultOn(String path, String alias, JoinType type)
Adds a join with an on-clause to the query, possibly specializing implicit joins, and giving the joined element an alias.<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZjoinLateralEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias, JoinType type)
LikejoinLateralEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZjoinLateralEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias, JoinType type)
Adds a lateral subquery join with an always true on-clause to the query and giving the joined element an alias.<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZjoinLateralEntitySubquery(String correlationPath, String alias, String subqueryAlias, JoinType type)
Like callingjoinLateralSubquery(String, String, String, JoinType)
, but also binds all attributes.<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZjoinLateralEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)
Adds a lateral subquery join with an always true on-clause to the query and giving the joined element an alias.<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZjoinLateralEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)
LikejoinLateralEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinLateralOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias, JoinType type)
LikejoinLateralOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinLateralOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias, JoinType type)
Adds a lateral subquery join with an on-clause to the query and giving the joined element an alias.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinLateralOnEntitySubquery(String correlationPath, String alias, String subqueryAlias, JoinType type)
Like callingjoinLateralOnSubquery(String, String, String, JoinType)
, but also binds all attributes.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinLateralOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)
Adds a lateral subquery join with an on-clause to the query and giving the joined element an alias.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinLateralOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)
LikejoinLateralOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
joinLateralOnSubquery(Class<?> entityClass, String alias, JoinType type)
LikejoinLateralOnSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
joinLateralOnSubquery(String base, Class<?> entityClass, String alias, JoinType type)
Adds a lateral subquery join with an on-clause to the query and giving the joined element an alias.FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
joinLateralOnSubquery(String correlationPath, String alias, String subqueryAlias, JoinType type)
Correlates the given association path in a subquery in the FROM clause and returns a CTE builder for that subquery.FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
joinLateralOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)
Adds a lateral subquery join with an on-clause to the query and giving the joined element an alias.FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
joinLateralOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)
LikejoinLateralOnSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.FullSelectCTECriteriaBuilder<X>
joinLateralSubquery(Class<?> entityClass, String alias, JoinType type)
LikejoinLateralSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.FullSelectCTECriteriaBuilder<X>
joinLateralSubquery(String base, Class<?> entityClass, String alias, JoinType type)
Adds a lateral subquery join with an always true on-clause to the query and giving the joined element an alias.FullSelectCTECriteriaBuilder<X>
joinLateralSubquery(String correlationPath, String alias, String subqueryAlias, JoinType type)
Correlates the given association path in a subquery in the FROM clause and returns a CTE builder for that subquery.FullSelectCTECriteriaBuilder<X>
joinLateralSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)
Adds a lateral subquery join with an always true on-clause to the query and giving the joined element an alias.FullSelectCTECriteriaBuilder<X>
joinLateralSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)
LikejoinLateralSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.JoinOnBuilder<X>
joinOn(Class<?> entityClass, String alias, JoinType type)
LikejoinOn(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.JoinOnBuilder<X>
joinOn(String base, Class<?> entityClass, String alias, JoinType type)
Adds an entity join with an on-clause to the query and giving the joined element an alias.JoinOnBuilder<X>
joinOn(String path, String alias, JoinType type)
Adds a join with an on-clause to the query, possibly specializing implicit joins, and giving the joined element an alias.JoinOnBuilder<X>
joinOn(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)
Adds an entity join with an on-clause to the query and giving the joined element an alias.JoinOnBuilder<X>
joinOn(javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)
LikejoinOn(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinOnEntitySubquery(Class<?> entityClass, String alias, JoinType type)
LikejoinOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias, JoinType type)
LikejoinOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinOnEntitySubquery(String base, Class<?> entityClass, String alias, JoinType type)
Adds a subquery join with an on-clause to the query and giving the joined element an alias.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias, JoinType type)
Adds a subquery join with an on-clause to the query and giving the joined element an alias.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)
Adds a subquery join with an on-clause to the query and giving the joined element an alias.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)
Adds a subquery join with an on-clause to the query and giving the joined element an alias.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)
LikejoinOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZjoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)
LikejoinOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
joinOnSubquery(Class<?> entityClass, String alias, JoinType type)
LikejoinOnSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
joinOnSubquery(String base, Class<?> entityClass, String alias, JoinType type)
Adds a subquery join with an on-clause to the query and giving the joined element an alias.FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
joinOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)
Adds a subquery join with an on-clause to the query and giving the joined element an alias.FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
joinOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)
LikejoinOnSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.X
leftJoin(String path, String alias)
X
leftJoinDefault(String path, String alias)
JoinOnBuilder<X>
leftJoinDefaultOn(String path, String alias)
<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZleftJoinLateralEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZleftJoinLateralEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZleftJoinLateralEntitySubquery(String correlationPath, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZleftJoinLateralEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<X, ? extends Z>>
ZleftJoinLateralEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinLateralOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinLateralOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinLateralOnEntitySubquery(String correlationPath, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinLateralOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinLateralOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
leftJoinLateralOnSubquery(Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
leftJoinLateralOnSubquery(String base, Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
leftJoinLateralOnSubquery(String correlationPath, String alias, String subqueryAlias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
leftJoinLateralOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
leftJoinLateralOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)
FullSelectCTECriteriaBuilder<X>
leftJoinLateralSubquery(Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<X>
leftJoinLateralSubquery(String base, Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<X>
leftJoinLateralSubquery(String correlationPath, String alias, String subqueryAlias)
FullSelectCTECriteriaBuilder<X>
leftJoinLateralSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
FullSelectCTECriteriaBuilder<X>
leftJoinLateralSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)
JoinOnBuilder<X>
leftJoinOn(Class<?> entityClass, String alias)
JoinOnBuilder<X>
leftJoinOn(String base, Class<?> entityClass, String alias)
JoinOnBuilder<X>
leftJoinOn(String path, String alias)
JoinOnBuilder<X>
leftJoinOn(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
JoinOnBuilder<X>
leftJoinOn(javax.persistence.metamodel.EntityType<?> entityType, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinOnEntitySubquery(Class<?> entityClass, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinOnEntitySubquery(String base, Class<?> entityClass, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZleftJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
leftJoinOnSubquery(Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
leftJoinOnSubquery(String base, Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
leftJoinOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
leftJoinOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)
X
rightJoin(String path, String alias)
X
rightJoinDefault(String path, String alias)
JoinOnBuilder<X>
rightJoinDefaultOn(String path, String alias)
JoinOnBuilder<X>
rightJoinOn(Class<?> entityClass, String alias)
JoinOnBuilder<X>
rightJoinOn(String base, Class<?> entityClass, String alias)
JoinOnBuilder<X>
rightJoinOn(String path, String alias)
JoinOnBuilder<X>
rightJoinOn(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
JoinOnBuilder<X>
rightJoinOn(javax.persistence.metamodel.EntityType<?> entityType, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZrightJoinOnEntitySubquery(Class<?> entityClass, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZrightJoinOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZrightJoinOnEntitySubquery(String base, Class<?> entityClass, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZrightJoinOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZrightJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZrightJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZrightJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>>
ZrightJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
rightJoinOnSubquery(Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
rightJoinOnSubquery(String base, Class<?> entityClass, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
rightJoinOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>>
rightJoinOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)
Methods inherited from interface com.blazebit.persistence.FromBaseBuilder
fromEntitySubquery, fromEntitySubquery, fromEntitySubquery, fromSubquery, fromSubquery
-
Method Details
-
getRoots
Returns the query roots.- Specified by:
getRoots
in interfaceFromProvider
- Returns:
- The roots of this query
- Since:
- 1.2.0
-
getFrom
Returns the from element for the given alias or null.- Specified by:
getFrom
in interfaceFromProvider
- Parameters:
alias
- The alias of the from element- Returns:
- The from element of this query or null if not found
- Since:
- 1.2.0
-
getFromByPath
Returns the from element for the given path, creating it if necessary.- Specified by:
getFromByPath
in interfaceFromProvider
- Parameters:
path
- The path to the from element- Returns:
- The from element of this query
- Since:
- 1.2.0
-
getPath
Returns the path object for the given path string, creating it if necessary.- Specified by:
getPath
in interfaceFromProvider
- Parameters:
path
- The path string- Returns:
- The path object for this query
- Since:
- 1.2.1
-
from
Description copied from interface:FromBaseBuilder
LikeFromBaseBuilder.from(Class, String)
with the alias equivalent to the camel cased result of whatClass.getSimpleName()
of the entity class returns.- Specified by:
from
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
entityClass
- The entity class which should be queried- Returns:
- The query builder for chaining calls
-
from
Description copied from interface:FromBaseBuilder
Sets the entity class on which the query should be based on with the given alias.- Specified by:
from
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
entityClass
- The entity class which should be queriedalias
- The alias for the entity- Returns:
- The query builder for chaining calls
-
from
Description copied from interface:FromBaseBuilder
LikeFromBaseBuilder.from(EntityType, String)
with the alias equivalent to the camel cased result of whatEntityType.getName()
of the entity class returns.- Specified by:
from
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
entityType
- The entity type which should be queried- Returns:
- The query builder for chaining calls
-
from
Description copied from interface:FromBaseBuilder
Sets the entity class on which the query should be based on with the given alias.- Specified by:
from
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
entityType
- The entity type which should be queriedalias
- The alias for the entity- Returns:
- The query builder for chaining calls
-
fromOld
Description copied from interface:FromBaseBuilder
LikeFromBaseBuilder.from(Class)
but explicitly queries the data before any side effects happen because of CTEs.- Specified by:
fromOld
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
entityClass
- The entity class which should be queried- Returns:
- The query builder for chaining calls
-
fromOld
Description copied from interface:FromBaseBuilder
LikeFromBaseBuilder.from(Class, String)
but explicitly queries the data before any side effects happen because of CTEs.- Specified by:
fromOld
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
entityClass
- The entity class which should be queriedalias
- The alias for the entity- Returns:
- The query builder for chaining calls
-
fromNew
Description copied from interface:FromBaseBuilder
LikeFromBaseBuilder.from(Class)
but explicitly queries the data after any side effects happen because of CTEs.- Specified by:
fromNew
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
entityClass
- The entity class which should be queried- Returns:
- The query builder for chaining calls
-
fromNew
Description copied from interface:FromBaseBuilder
LikeFromBaseBuilder.from(Class, String)
but explicitly queries the data after any side effects happen because of CTEs.- Specified by:
fromNew
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
entityClass
- The entity class which should be queriedalias
- The alias for the entity- Returns:
- The query builder for chaining calls
-
fromValues
Description copied from interface:FromBaseBuilder
Add a VALUES clause for values of the given value class to the from clause. This introduces a parameter named like the given alias. To set the values invokeParameterHolder.setParameter(String, Object)
orQuery.setParameter(String, Object)
with the alias and a collection.- Specified by:
fromValues
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
valueClass
- The class of the basic or managed type for which to create a VALUES clausealias
- The alias for the entityvalueCount
- The number of values to use for the values clause- Returns:
- The query builder for chaining calls
-
fromValues
Description copied from interface:FromBaseBuilder
Add a VALUES clause for values of the type as determined by the given entity attribute to the from clause. This introduces a parameter named like the given alias. To set the values invokeParameterHolder.setParameter(String, Object)
orQuery.setParameter(String, Object)
with the alias and a collection.- Specified by:
fromValues
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
entityBaseClass
- The entity class on which the attribute is locatedattributeName
- The attribute name within the entity class which to use for determining the values typealias
- The alias for the entityvalueCount
- The number of values to use for the values clause- Returns:
- The query builder for chaining calls
-
fromIdentifiableValues
Description copied from interface:FromBaseBuilder
Add a VALUES clause for values of the given value class to the from clause. This introduces a parameter named like the given alias. In contrast toFromBaseBuilder.fromValues(Class, String, int)
this will only bind the id attribute. To set the values invokeParameterHolder.setParameter(String, Object)
orQuery.setParameter(String, Object)
with the alias and a collection.- Specified by:
fromIdentifiableValues
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
valueClass
- The class of the identifiable type for which to create a VALUES clausealias
- The alias for the entityvalueCount
- The number of values to use for the values clause- Returns:
- The query builder for chaining calls
-
fromIdentifiableValues
X fromIdentifiableValues(Class<?> valueClass, String identifierAttribute, String alias, int valueCount)Description copied from interface:FromBaseBuilder
Add a VALUES clause for values of the given value class to the from clause. This introduces a parameter named like the given alias. In contrast toFromBaseBuilder.fromValues(Class, String, int)
this will only bind the identifier attribute. To set the values invokeParameterHolder.setParameter(String, Object)
orQuery.setParameter(String, Object)
with the alias and a collection.- Specified by:
fromIdentifiableValues
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
valueClass
- The class of the identifiable type for which to create a VALUES clauseidentifierAttribute
- The attribute of the entity type to consider as identifier attributealias
- The alias for the entityvalueCount
- The number of values to use for the values clause- Returns:
- The query builder for chaining calls
-
fromValues
Description copied from interface:FromBaseBuilder
LikeFromBaseBuilder.fromValues(Class, String, int)
but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object)
.- Specified by:
fromValues
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Type Parameters:
T
- The type of the values- Parameters:
valueClass
- The class of the basic or managed type for which to create a VALUES clausealias
- The alias for the entityvalues
- The values to use for the values clause- Returns:
- The query builder for chaining calls
-
fromValues
Description copied from interface:FromBaseBuilder
LikeFromBaseBuilder.fromValues(Class, String, String, int)
but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object)
.- Specified by:
fromValues
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Parameters:
entityBaseClass
- The entity class on which the attribute is locatedattributeName
- The attribute name within the entity class which to use for determining the values typealias
- The alias for the entityvalues
- The values to use for the values clause- Returns:
- The query builder for chaining calls
-
fromIdentifiableValues
Description copied from interface:FromBaseBuilder
LikeFromBaseBuilder.fromIdentifiableValues(Class, String, int)
but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object)
.- Specified by:
fromIdentifiableValues
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Type Parameters:
T
- The type of the values- Parameters:
valueClass
- The class of the identifiable type for which to create a VALUES clausealias
- The alias for the entityvalues
- The values to use for the values clause- Returns:
- The query builder for chaining calls
-
fromIdentifiableValues
<T> X fromIdentifiableValues(Class<T> valueClass, String identifierAttribute, String alias, Collection<T> values)Description copied from interface:FromBaseBuilder
LikeFromBaseBuilder.fromIdentifiableValues(Class, String, String, int)
but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object)
.- Specified by:
fromIdentifiableValues
in interfaceFromBaseBuilder<X extends FromBuilder<X>>
- Type Parameters:
T
- The type of the values- Parameters:
valueClass
- The class of the identifiable type for which to create a VALUES clauseidentifierAttribute
- The attribute of the entity type to consider as identifier attributealias
- The alias for the entityvalues
- The values to use for the values clause- Returns:
- The query builder for chaining calls
-
join
Adds a join to the query, possibly specializing implicit joins, and giving the joined element an alias. The resulting join is different from a default join because it can only be referred to via it's alias.- Parameters:
path
- The path to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The query builder for chaining calls
-
joinDefault
Adds a join to the query, possibly specializing implicit joins, and giving the joined element an alias. The resulting join will be the default join meaning that expressions which use the absolute path will refer to this join.- Parameters:
path
- The path to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The query builder for chaining calls
-
joinOn
Adds a join with an on-clause to the query, possibly specializing implicit joins, and giving the joined element an alias.The resulting join is different from a default join because it can only be referred to via it's alias. The absolute path can only be used if the joined path is a map and the on-clause contains a EQ predicate with the KEY on the left hand side.
- Parameters:
path
- The path to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The restriction builder for the on-clause
-
joinDefaultOn
Adds a join with an on-clause to the query, possibly specializing implicit joins, and giving the joined element an alias. The resulting join will be the default join meaning that expressions which use the absolute path will refer to this join.- Parameters:
path
- The path to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The restriction builder for the on-clause
-
joinOn
LikejoinOn(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The restriction builder for the on-clause
- Since:
- 1.2.0
-
joinOn
Adds an entity join with an on-clause to the query and giving the joined element an alias.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The restriction builder for the on-clause
- Since:
- 1.2.0
-
joinOn
JoinOnBuilder<X> joinOn(javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)LikejoinOn(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The restriction builder for the on-clause
- Since:
- 1.3.0
-
joinOn
JoinOnBuilder<X> joinOn(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)Adds an entity join with an on-clause to the query and giving the joined element an alias.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The restriction builder for the on-clause
- Since:
- 1.3.0
-
joinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> joinOnSubquery(Class<?> entityClass, String alias, JoinType type)LikejoinOnSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> joinOnSubquery(String base, Class<?> entityClass, String alias, JoinType type)Adds a subquery join with an on-clause to the query and giving the joined element an alias.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> joinOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)LikejoinOnSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> joinOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)Adds a subquery join with an on-clause to the query and giving the joined element an alias.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinOnEntitySubquery(Class<?> entityClass, String alias, JoinType type)LikejoinOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinOnEntitySubquery(String base, Class<?> entityClass, String alias, JoinType type)Adds a subquery join with an on-clause to the query and giving the joined element an alias. The subquery will have all attributes bound and thus not allow any further select items.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias, JoinType type)LikejoinOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias, JoinType type)Adds a subquery join with an on-clause to the query and giving the joined element an alias. The subquery will have all attributes bound and thus not allow any further select items.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)LikejoinOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)Adds a subquery join with an on-clause to the query and giving the joined element an alias. The subquery will have all attributes bound and thus not allow any further select items.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)LikejoinOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)Adds a subquery join with an on-clause to the query and giving the joined element an alias. The subquery will have all attributes bound and thus not allow any further select items.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> joinLateralOnSubquery(Class<?> entityClass, String alias, JoinType type)LikejoinLateralOnSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> joinLateralOnSubquery(String base, Class<?> entityClass, String alias, JoinType type)Adds a lateral subquery join with an on-clause to the query and giving the joined element an alias.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> joinLateralOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)LikejoinLateralOnSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> joinLateralOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)Adds a lateral subquery join with an on-clause to the query and giving the joined element an alias.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinLateralOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias, JoinType type)LikejoinLateralOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinLateralOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias, JoinType type)Adds a lateral subquery join with an on-clause to the query and giving the joined element an alias. The subquery will have all attributes bound and thus not allow any further select items.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinLateralOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)LikejoinLateralOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinLateralOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)Adds a lateral subquery join with an on-clause to the query and giving the joined element an alias. The subquery will have all attributes bound and thus not allow any further select items.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> joinLateralOnSubquery(String correlationPath, String alias, String subqueryAlias, JoinType type)Correlates the given association path in a subquery in the FROM clause and returns a CTE builder for that subquery.- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the FROM clause itemsubqueryAlias
- The alias for the correlation FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z joinLateralOnEntitySubquery(String correlationPath, String alias, String subqueryAlias, JoinType type)Like callingjoinLateralOnSubquery(String, String, String, JoinType)
, but also binds all attributes.- Type Parameters:
Z
- The builder return type- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the FROM clause itemsubqueryAlias
- The alias for the correlation FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralSubquery
FullSelectCTECriteriaBuilder<X> joinLateralSubquery(Class<?> entityClass, String alias, JoinType type)LikejoinLateralSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralSubquery
FullSelectCTECriteriaBuilder<X> joinLateralSubquery(String base, Class<?> entityClass, String alias, JoinType type)Adds a lateral subquery join with an always true on-clause to the query and giving the joined element an alias.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralSubquery
FullSelectCTECriteriaBuilder<X> joinLateralSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)LikejoinLateralSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinLateralSubquery
FullSelectCTECriteriaBuilder<X> joinLateralSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, JoinType type)Adds a lateral subquery join with an always true on-clause to the query and giving the joined element an alias.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementtype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z joinLateralEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias, JoinType type)LikejoinLateralEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z joinLateralEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias, JoinType type)Adds a lateral subquery join with an always true on-clause to the query and giving the joined element an alias. The subquery will have all attributes bound and thus not allow any further select items.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z joinLateralEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)LikejoinLateralEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but with the query root assumed as base.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z joinLateralEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias, JoinType type)Adds a lateral subquery join with an always true on-clause to the query and giving the joined element an alias. The subquery will have all attributes bound and thus not allow any further select items.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
joinLateralSubquery
FullSelectCTECriteriaBuilder<X> joinLateralSubquery(String correlationPath, String alias, String subqueryAlias, JoinType type)Correlates the given association path in a subquery in the FROM clause and returns a CTE builder for that subquery.- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the FROM clause itemsubqueryAlias
- The alias for the correlation FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
joinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z joinLateralEntitySubquery(String correlationPath, String alias, String subqueryAlias, JoinType type)Like callingjoinLateralSubquery(String, String, String, JoinType)
, but also binds all attributes.- Type Parameters:
Z
- The builder return type- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the FROM clause itemsubqueryAlias
- The alias for the correlation FROM clause item in the subquerytype
- The join type- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoin
Likejoin(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The query builder for chaining calls
-
innerJoinDefault
LikejoinDefault(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The query builder for chaining calls
-
innerJoinOn
LikejoinOn(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
-
innerJoinDefaultOn
LikejoinDefaultOn(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
-
innerJoinOn
LikejoinOn(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.2.0
-
innerJoinOn
LikejoinOn(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.2.0
-
innerJoinOn
LikejoinOn(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.3.0
-
innerJoinOn
JoinOnBuilder<X> innerJoinOn(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOn(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.3.0
-
innerJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> innerJoinOnSubquery(Class<?> entityClass, String alias)LikejoinOnSubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> innerJoinOnSubquery(String base, Class<?> entityClass, String alias)LikejoinOnSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> innerJoinOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnSubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> innerJoinOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinOnEntitySubquery(Class<?> entityClass, String alias)LikejoinOnEntitySubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinOnEntitySubquery(String base, Class<?> entityClass, String alias)LikejoinOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnEntitySubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)LikejoinOnEntitySubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)LikejoinOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinOnEntitySubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> innerJoinLateralOnSubquery(Class<?> entityClass, String alias)LikejoinLateralOnSubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> innerJoinLateralOnSubquery(String base, Class<?> entityClass, String alias)LikejoinLateralOnSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> innerJoinLateralOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinLateralOnSubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> innerJoinLateralOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinLateralOnSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinLateralOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)LikejoinLateralOnEntitySubquery(java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinLateralOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)LikejoinLateralOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinLateralOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinLateralOnEntitySubquery(javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinLateralOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinLateralOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> innerJoinLateralOnSubquery(String correlationPath, String alias, String subqueryAlias)LikejoinLateralOnSubquery(java.lang.String, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z innerJoinLateralOnEntitySubquery(String correlationPath, String alias, String subqueryAlias)LikejoinLateralOnEntitySubquery(java.lang.String, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralSubquery
LikejoinLateralSubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralSubquery
FullSelectCTECriteriaBuilder<X> innerJoinLateralSubquery(String base, Class<?> entityClass, String alias)LikejoinLateralSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralSubquery
FullSelectCTECriteriaBuilder<X> innerJoinLateralSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinLateralSubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinLateralSubquery
FullSelectCTECriteriaBuilder<X> innerJoinLateralSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinLateralSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z innerJoinLateralEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)LikejoinLateralEntitySubquery(java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z innerJoinLateralEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)LikejoinLateralEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z innerJoinLateralEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinLateralEntitySubquery(javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z innerJoinLateralEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinLateralEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
innerJoinLateralSubquery
FullSelectCTECriteriaBuilder<X> innerJoinLateralSubquery(String correlationPath, String alias, String subqueryAlias)LikejoinLateralSubquery(java.lang.String, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
innerJoinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z innerJoinLateralEntitySubquery(String correlationPath, String alias, String subqueryAlias)LikejoinLateralEntitySubquery(java.lang.String, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.INNER
.- Type Parameters:
Z
- The builder return type- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoin
Likejoin(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The query builder for chaining calls
-
leftJoinDefault
LikejoinDefault(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The query builder for chaining calls
-
leftJoinOn
LikejoinOn(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
-
leftJoinDefaultOn
LikejoinDefaultOn(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
-
leftJoinOn
LikejoinOn(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.2.0
-
leftJoinOn
LikejoinOn(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.2.0
-
leftJoinOn
LikejoinOn(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.3.0
-
leftJoinOn
JoinOnBuilder<X> leftJoinOn(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOn(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.3.0
-
leftJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> leftJoinOnSubquery(Class<?> entityClass, String alias)LikejoinOnSubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> leftJoinOnSubquery(String base, Class<?> entityClass, String alias)LikejoinOnSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> leftJoinOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnSubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> leftJoinOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinOnEntitySubquery(Class<?> entityClass, String alias)LikejoinOnEntitySubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinOnEntitySubquery(String base, Class<?> entityClass, String alias)LikejoinOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnEntitySubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)LikejoinOnEntitySubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)LikejoinOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinOnEntitySubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> leftJoinLateralOnSubquery(Class<?> entityClass, String alias)LikejoinLateralOnSubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> leftJoinLateralOnSubquery(String base, Class<?> entityClass, String alias)LikejoinLateralOnSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> leftJoinLateralOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinLateralOnSubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> leftJoinLateralOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinLateralOnSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinLateralOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)LikejoinLateralOnEntitySubquery(java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinLateralOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)LikejoinLateralOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinLateralOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinLateralOnEntitySubquery(javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinLateralOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinLateralOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinLateralOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> leftJoinLateralOnSubquery(String correlationPath, String alias, String subqueryAlias)LikejoinLateralOnSubquery(java.lang.String, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z leftJoinLateralOnEntitySubquery(String correlationPath, String alias, String subqueryAlias)LikejoinLateralOnEntitySubquery(java.lang.String, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralSubquery
LikejoinLateralSubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralSubquery
FullSelectCTECriteriaBuilder<X> leftJoinLateralSubquery(String base, Class<?> entityClass, String alias)LikejoinLateralSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralSubquery
FullSelectCTECriteriaBuilder<X> leftJoinLateralSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinLateralSubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinLateralSubquery
FullSelectCTECriteriaBuilder<X> leftJoinLateralSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinLateralSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z leftJoinLateralEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)LikejoinLateralEntitySubquery(java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z leftJoinLateralEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)LikejoinLateralEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z leftJoinLateralEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinLateralEntitySubquery(javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z leftJoinLateralEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinLateralEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
leftJoinLateralSubquery
FullSelectCTECriteriaBuilder<X> leftJoinLateralSubquery(String correlationPath, String alias, String subqueryAlias)LikejoinLateralSubquery(java.lang.String, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
leftJoinLateralEntitySubquery
<Z extends BaseFromQueryBuilder<X, ? extends Z>> Z leftJoinLateralEntitySubquery(String correlationPath, String alias, String subqueryAlias)LikejoinLateralEntitySubquery(java.lang.String, java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.LEFT
.- Type Parameters:
Z
- The builder return type- Parameters:
correlationPath
- The correlation path which should be queriedalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
rightJoin
Likejoin(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The query builder for chaining calls
-
rightJoinDefault
LikejoinDefault(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The query builder for chaining calls
-
rightJoinOn
LikejoinOn(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
-
rightJoinDefaultOn
LikejoinDefaultOn(java.lang.String, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
path
- The path to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
-
rightJoinOn
LikejoinOn(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.2.0
-
rightJoinOn
LikejoinOn(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.2.0
-
rightJoinOn
LikejoinOn(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.3.0
-
rightJoinOn
JoinOnBuilder<X> rightJoinOn(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOn(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The restriction builder for the on-clause
- Since:
- 1.3.0
-
rightJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> rightJoinOnSubquery(Class<?> entityClass, String alias)LikejoinOnSubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
rightJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> rightJoinOnSubquery(String base, Class<?> entityClass, String alias)LikejoinOnSubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
rightJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> rightJoinOnSubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnSubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
rightJoinOnSubquery
FullSelectCTECriteriaBuilder<JoinOnBuilder<X>> rightJoinOnSubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnSubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
rightJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z rightJoinOnEntitySubquery(Class<?> entityClass, String alias)LikejoinOnEntitySubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
rightJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z rightJoinOnEntitySubquery(String base, Class<?> entityClass, String alias)LikejoinOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
rightJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z rightJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnEntitySubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
rightJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z rightJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias)LikejoinOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined element- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
rightJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z rightJoinOnEntitySubquery(Class<?> entityClass, String alias, String subqueryAlias)LikejoinOnEntitySubquery(java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
rightJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z rightJoinOnEntitySubquery(String base, Class<?> entityClass, String alias, String subqueryAlias)LikejoinOnEntitySubquery(java.lang.String, java.lang.Class, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityClass
- The entity class to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.4.1
-
rightJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z rightJoinOnEntitySubquery(javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinOnEntitySubquery(javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Type Parameters:
Z
- The builder return type- Parameters:
entityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-
rightJoinOnEntitySubquery
<Z extends BaseFromQueryBuilder<JoinOnBuilder<X>, ? extends Z>> Z rightJoinOnEntitySubquery(String base, javax.persistence.metamodel.EntityType<?> entityType, String alias, String subqueryAlias)LikejoinOnEntitySubquery(java.lang.String, javax.persistence.metamodel.EntityType, java.lang.String, com.blazebit.persistence.JoinType)
but withJoinType.RIGHT
.- Type Parameters:
Z
- The builder return type- Parameters:
base
- The base node on which to joinentityType
- The entity type to joinalias
- The alias for the joined elementsubqueryAlias
- The alias for the FROM clause item in the subquery- Returns:
- The CTE builder for the subquery in the FROM clause
- Since:
- 1.5.0
-