Package com.blazebit.persistence
Interface QuantifiableBinaryPredicateBuilder<T>
- Type Parameters:
T
- The builder type that is returned on terminal operations
- All Superinterfaces:
BinaryPredicateBuilder<T>
,FromBaseBuilder<SubqueryBuilder<T>>
,SubqueryInitiator<T>
public interface QuantifiableBinaryPredicateBuilder<T>
extends BinaryPredicateBuilder<T>, SubqueryInitiator<T>
The interface for quantifiable binary predicate builders.
The left hand side and the operator are already known to the builder and the methods of this builder either terminate the building
process or start a
SubqueryInitiator
.- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and TypeMethodDescriptionall()
Starts aSubqueryInitiator
for the right hand side of a predicate that uses the ALL quantor.all
(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilder
based on the given criteria builder for the right hand side of a predicate that uses the ALL quantor.any()
Starts aSubqueryInitiator
for the right hand side of a predicate that uses the ANY quantor.any
(FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilder
based on the given criteria builder for the right hand side of a predicate that uses the ANY quantor.Methods inherited from interface com.blazebit.persistence.BinaryPredicateBuilder
caseWhen, caseWhenAnd, caseWhenExists, caseWhenExists, caseWhenNotExists, caseWhenNotExists, caseWhenOr, caseWhenSubqueries, caseWhenSubquery, caseWhenSubquery, caseWhenSubquery, caseWhenSubquery, expression, literal, simpleCase, subqueries, value
Methods inherited from interface com.blazebit.persistence.FromBaseBuilder
fromEntitySubquery, fromEntitySubquery, fromEntitySubquery, fromIdentifiableValues, fromIdentifiableValues, fromSubquery, fromSubquery
Methods inherited from interface com.blazebit.persistence.SubqueryInitiator
from, from, from, from, from, from, fromIdentifiableValues, fromIdentifiableValues, fromNew, fromNew, fromOld, fromOld, fromValues, fromValues, fromValues, fromValues, getParentQueryBuilder, startSet
-
Method Details
-
all
SubqueryInitiator<T> all()Starts aSubqueryInitiator
for the right hand side of a predicate that uses the ALL quantor. When the builder finishes, the predicate is added to the parent predicate container represented by the typeT
.- Returns:
- The subquery initiator for building a subquery
-
any
SubqueryInitiator<T> any()Starts aSubqueryInitiator
for the right hand side of a predicate that uses the ANY quantor. When the builder finishes, the predicate is added to the parent predicate container represented by the typeT
.- Returns:
- The subquery initiator for building a subquery
-
all
Starts aSubqueryBuilder
based on the given criteria builder for the right hand side of a predicate that uses the ALL quantor. When the builder finishes, the predicate is added to the parent predicate container represented by the typeT
.- Parameters:
criteriaBuilder
- The criteria builder to base the subquery on- Returns:
- The subquery builder for building a subquery
- Since:
- 1.2.0
-
any
Starts aSubqueryBuilder
based on the given criteria builder for the right hand side of a predicate that uses the ANY quantor. When the builder finishes, the predicate is added to the parent predicate container represented by the typeT
.- Parameters:
criteriaBuilder
- The criteria builder to base the subquery on- Returns:
- The subquery builder for building a subquery
- Since:
- 1.2.0
-