Uses of Interface
com.blazebit.persistence.SubqueryBuilder
Packages that use SubqueryBuilder
Package
Description
Blaze-Persistence is a rich Criteria API for JPA.
Contains experimental extensions that might not be supported by all JPA providers.
-
Uses of SubqueryBuilder in com.blazebit.persistence
Methods in com.blazebit.persistence that return SubqueryBuilderModifier and TypeMethodDescriptionQuantifiableBinaryPredicateBuilder.all(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the right hand side of a predicate that uses the ALL quantor.CaseWhenAndBuilder.andExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the when clause with a subquery on the right hand side based on the given criteria builder.CaseWhenAndThenBuilder.andExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the when clause with a subquery on the right hand side based on the given criteria builder.CaseWhenAndBuilder.andNotExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the when clause with a subquery on the right hand side based on the given criteria builder.CaseWhenAndThenBuilder.andNotExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the when clause with a subquery on the right hand side based on the given criteria builder.BetweenBuilder.andSubqery(FullQueryBuilder<?, ?> criteriaBuilder) Constructs a between predicate with a subquery based on the given criteria builder as upper bound.BetweenBuilder.andSubqery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Constructs a between predicate with an expression containing a subquery as upper bound.CaseWhenAndBuilder.andSubquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a when predicate.CaseWhenAndBuilder.andSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a when predicate.CaseWhenAndThenBuilder.andSubquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a when predicate.CaseWhenAndThenBuilder.andSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a when predicate.QuantifiableBinaryPredicateBuilder.any(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the right hand side of a predicate that uses the ANY quantor.RestrictionBuilder.betweenSubquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts a builder for a between predicate with a subquery as lower bound.RestrictionBuilder.betweenSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts a builder for a between predicate with a subquery as lower bound.BinaryPredicateBuilder.caseWhenExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryInitiatorto create a when expression with a single exists predicate.BinaryPredicateBuilder.caseWhenNotExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryInitiatorto create a when expression with a single negated exists predicate.BinaryPredicateBuilder.caseWhenSubquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder to create a when expression with a single predicate in which the left hand side will be a subquery.BinaryPredicateBuilder.caseWhenSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder to create a when expression with a single predicate in which the left hand side will be a subquery.RestrictionBuilder.eq(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the right hand side for the EQ predicate.RestrictionBuilder.eq(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the EQ predicate that can be used to apply quantors.BasePredicateBuilder.exists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the where clause with a subquery on the right hand side based on the given criteria builder.LikeSubqueryInitiator.from(java.lang.Class, java.lang.String)with the alias equivalent to the camel cased result of whatClass.getSimpleName()of the entity class returns.Creates a new subquery builder with the given entity class as entity in the FROM clause with the given alias.LikeSubqueryInitiator.from(String, String)with the alias equivalent to the camel cased result of the class of the correlation parent.Creates a new subquery builder with the given correlation path in the FROM clause with the given alias.SubqueryInitiator.from(javax.persistence.metamodel.EntityType<?> entityType) LikeSubqueryInitiator.from(EntityType, String)with the alias equivalent to the camel cased result of whatEntityType.getName()of the entity class returns.Creates a new subquery builder with the entity class on which the query should be based on with the given alias.SubqueryInitiator.fromIdentifiableValues(Class<?> valueClass, String alias, int valueCount) Creates a new subquery builder with a VALUES clause for values of the given value class in the from clause.<X> SubqueryBuilder<T>SubqueryInitiator.fromIdentifiableValues(Class<X> valueClass, String alias, Collection<X> values) LikeSubqueryInitiator.fromIdentifiableValues(Class, String, int)but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object).LikeSubqueryInitiator.from(Class)but explicitly queries the data after any side effects happen because of CTEs.LikeSubqueryInitiator.from(Class, String)but explicitly queries the data after any side effects happen because of CTEs.LikeSubqueryInitiator.from(Class)but explicitly queries the data before any side effects happen because of CTEs.LikeSubqueryInitiator.from(Class, String)but explicitly queries the data before any side effects happen because of CTEs.SubqueryInitiator.fromValues(Class<?> valueClass, String alias, int valueCount) Creates a new subquery builder with a VALUES clause for values of the given value class in the from clause.SubqueryInitiator.fromValues(Class<?> entityBaseClass, String attributeName, String alias, int valueCount) Creates a new subquery builder with a VALUES clause for values of the type as determined by the given entity attribute to the from clause.SubqueryInitiator.fromValues(Class<?> entityBaseClass, String attributeName, String alias, Collection<?> values) LikeSubqueryInitiator.fromValues(Class, String, String, int)but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object).<X> SubqueryBuilder<T>SubqueryInitiator.fromValues(Class<X> valueClass, String alias, Collection<X> values) LikeSubqueryInitiator.fromValues(Class, String, int)but passes the collection size as valueCount and directly binds the collection as parameter viaParameterHolder.setParameter(String, Object).RestrictionBuilder.ge(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the GE predicate that can be used to apply quantors.RestrictionBuilder.ge(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the GE predicate that can be used to apply quantors.RestrictionBuilder.gt(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the GT predicate that can be used to apply quantors.RestrictionBuilder.gt(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the GT predicate that can be used to apply quantors.BaseHavingBuilder.havingExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the having clause with a subquery on the right hand side based on the given criteria builder.BaseHavingBuilder.havingNotExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the having clause with a subquery on the right hand side based on the given criteria builder.BaseHavingBuilder.havingSubquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbase on the given criteria builder for the left hand side of a predicate.BaseHavingBuilder.havingSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbase on the given criteria builder for the left hand side of a predicate.RestrictionBuilder.in(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the right hand side of the IN predicate.RestrictionBuilder.le(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the LE predicate that can be used to apply quantors.RestrictionBuilder.le(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the LE predicate that can be used to apply quantors.RestrictionBuilder.lt(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the LT predicate that can be used to apply quantors.RestrictionBuilder.lt(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the LT predicate that can be used to apply quantors.RestrictionBuilder.notBetweenSubquery(FullQueryBuilder<?, ?> criteriaBuilder) LikeRestrictionBuilder.betweenSubquery(FullQueryBuilder)but the resulting predicate is negated.RestrictionBuilder.notBetweenSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) LikeRestrictionBuilder.betweenSubquery(java.lang.String, java.lang.String, FullQueryBuilder)but the resulting predicate is negated.RestrictionBuilder.notEq(FullQueryBuilder<?, ?> criteriaBuilder) LikeRestrictionBuilder.eq(FullQueryBuilder)but the result is wrapped in a NOT predicate.RestrictionBuilder.notEq(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) LikeRestrictionBuilder.eq(java.lang.String,java.lang.String, FullQueryBuilder)but the result is wrapped in a NOT predicate.BasePredicateBuilder.notExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the where clause with a subquery on the right hand side based on the given criteria builder.RestrictionBuilder.notIn(FullQueryBuilder<?, ?> criteriaBuilder) LikeRestrictionBuilder.in(FullQueryBuilder)but the result is wrapped in a NOT predicate.BaseJoinOnBuilder.onExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the on clause with a subquery on the right hand side based on the given criteria builder.BaseJoinOnBuilder.onNotExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the on clause with a subquery on the right hand side based on the given criteria builder.BaseJoinOnBuilder.onSubquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a predicate.BaseJoinOnBuilder.onSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a predicate.CaseWhenOrBuilder.orExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the when clause with a subquery on the right hand side based on the given criteria builder.CaseWhenOrThenBuilder.orExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the when clause with a subquery on the right hand side based on the given criteria builder.CaseWhenOrBuilder.orNotExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the when clause with a subquery on the right hand side based on the given criteria builder.CaseWhenOrThenBuilder.orNotExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the when clause with a subquery on the right hand side based on the given criteria builder.CaseWhenOrBuilder.orSubquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a when predicate.CaseWhenOrBuilder.orSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a when predicate.CaseWhenOrThenBuilder.orSubquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a when predicate.CaseWhenOrThenBuilder.orSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a when predicate.SelectBuilder.selectSubquery(FullQueryBuilder<?, ?> criteriaBuilder) LikeSelectBuilder.selectSubquery(java.lang.String, FullQueryBuilder)but without an alias.SelectBuilder.selectSubquery(String alias, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the select item with the given alias.SelectBuilder.selectSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) LikeSelectBuilder.selectSubquery(java.lang.String,java.lang.String,java.lang.String, FullQueryBuilder)but without a select alias.SelectBuilder.selectSubquery(String subqueryAlias, String expression, String selectAlias, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for a new select item with the given select alias.BaseUpdateCriteriaBuilder.set(String attribute, FullQueryBuilder<?, ?> criteriaBuilder) Starts a subquery builder for creating an expression that should be bound to the attribute based on the given criteria builder.BasePredicateBuilder.subquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a predicate.BasePredicateBuilder.subquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a predicate.CaseWhenStarterBuilder.whenExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the when clause with a subquery on the right hand side based on the given criteria builder.CaseWhenStarterBuilder.whenNotExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the when clause with a subquery on the right hand side based on the given criteria builder.CaseWhenStarterBuilder.whenSubquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a when predicate.CaseWhenStarterBuilder.whenSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a when predicate.BaseWhereBuilder.whereExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the where clause with a subquery on the right hand side based on the given criteria builder.BaseWhereBuilder.whereNotExists(FullQueryBuilder<?, ?> criteriaBuilder) Starts an exists predicate for the where clause with a subquery on the right hand side based on the given criteria builder.BaseWhereBuilder.whereSubquery(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a predicate.BaseWhereBuilder.whereSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the left hand side of a predicate.MultipleSubqueryInitiator.with(String subqueryAlias, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the given subquery alias.SelectObjectBuilder.withSubquery(int position, FullQueryBuilder<?, ?> criteriaBuilder) LikeSelectObjectBuilder.withSubquery(int,java.lang.String,FullQueryBuilder)but without an alias.SelectObjectBuilder.withSubquery(int position, String alias, FullQueryBuilder<?, ?> criteriaBuilder) LikeSelectObjectBuilder.withSubquery(java.lang.String,FullQueryBuilder)but adds the resulting subquery expression to the given position.SelectObjectBuilder.withSubquery(int position, String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) LikeSelectObjectBuilder.withSubquery(java.lang.String,java.lang.String,java.lang.String,FullQueryBuilder)but adds the resulting subquery expression to the given position.SelectObjectBuilder.withSubquery(int position, String subqueryAlias, String expression, String selectAlias, FullQueryBuilder<?, ?> criteriaBuilder) LikeSelectObjectBuilder.withSubquery(java.lang.String,java.lang.String,java.lang.String,FullQueryBuilder)but adds the resulting subquery expression to the given position.SelectObjectBuilder.withSubquery(FullQueryBuilder<?, ?> criteriaBuilder) LikeSelectObjectBuilder.withSubquery(java.lang.String, FullQueryBuilder)but without an alias.SelectObjectBuilder.withSubquery(String alias, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder which allows the result of the specified subquery to be passed as argument to the select new clause.SelectObjectBuilder.withSubquery(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) LikeSelectBuilder.selectSubquery(java.lang.String,java.lang.String,java.lang.String,FullQueryBuilder)but without a select alias.SelectObjectBuilder.withSubquery(String subqueryAlias, String expression, String selectAlias, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for a new argument for the select new clause with the given select alias. -
Uses of SubqueryBuilder in com.blazebit.persistence.internal
Methods in com.blazebit.persistence.internal that return SubqueryBuilderModifier and TypeMethodDescriptionRestrictionBuilderExperimental.in(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilderbased on the given criteria builder for the right hand side of the IN predicate.RestrictionBuilderExperimental.notIn(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) LikeRestrictionBuilderExperimental.in(java.lang.String, java.lang.String, FullQueryBuilder)but the result is wrapped in a NOT predicate.