Interface RestrictionBuilderExperimental<T>
- Type Parameters:
T
- The builder type that is returned on terminal operations
- All Superinterfaces:
RestrictionBuilder<T>
- Since:
- 1.0.0
- Author:
- Moritz Becker
-
Method Summary
Modifier and TypeMethodDescriptionStarts aSubqueryInitiator
for the right hand side of the IN predicate.in
(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilder
based on the given criteria builder for the right hand side of the IN predicate.inSubqueries
(String expression) Starts aMultipleSubqueryInitiator
for the right hand side of the IN predicate.Likein(java.lang.String, java.lang.String)
but the result is wrapped in a NOT predicate.notIn
(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Likein(java.lang.String, java.lang.String, FullQueryBuilder)
but the result is wrapped in a NOT predicate.notInSubqueries
(String expression) LikeinSubqueries(java.lang.String)
but the result is wrapped in a NOT predicate.Methods inherited from interface com.blazebit.persistence.RestrictionBuilder
between, betweenExpression, betweenLiteral, betweenSubqueries, betweenSubquery, betweenSubquery, betweenSubquery, betweenSubquery, eq, eq, eq, eq, eq, eqExpression, eqLiteral, eqSubqueries, ge, ge, ge, ge, ge, geExpression, geLiteral, geSubqueries, gt, gt, gt, gt, gt, gtExpression, gtLiteral, gtSubqueries, in, in, in, in, inCollectionExpression, inExpressions, inLiterals, inLiterals, isEmpty, isMemberOf, isNotEmpty, isNotMemberOf, isNotNull, isNull, le, le, le, le, le, leExpression, leLiteral, leSubqueries, like, like, lt, lt, lt, lt, lt, ltExpression, ltLiteral, ltSubqueries, nonPortable, notBetween, notBetweenExpression, notBetweenLiteral, notBetweenSubqueries, notBetweenSubquery, notBetweenSubquery, notBetweenSubquery, notBetweenSubquery, notEq, notEq, notEq, notEq, notEq, notEqExpression, notEqLiteral, notEqSubqueries, notIn, notIn, notIn, notIn, notInCollectionExpression, notInExpressions, notInLiterals, notInLiterals, notLike, notLike
-
Method Details
-
in
Starts aSubqueryInitiator
for the right hand side of the IN predicate.All occurrences of
subqueryAlias
inexpression
will be replaced by the subquery. When the builder finishes, the predicate is added to the parent predicate container represented by the typeT
.NOTE: This does not conform to the JPQL 2.1 specification
- Parameters:
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select item. This expression contains thesubqueryAlias
to define the insertion points for the subquery.- Returns:
- The subquery initiator for building a subquery
-
inSubqueries
Starts aMultipleSubqueryInitiator
for the right hand side of the IN predicate.All occurrences of subsequently defined
subqueryAlias
es inexpression
will be replaced by the respective subquery. When the subquery builder and the restriction builder for the right hand side are finished, the predicate is added to the parent predicate container represented by the typeT
.NOTE: This does not conform to the JPQL 2.1 specification
- Parameters:
expression
- The expression for the right hand side of the IN predicate.- Returns:
- The subquery initiator for building multiple subqueries for their respective subqueryAliases
- Since:
- 1.2.0
-
in
SubqueryBuilder<T> in(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Starts aSubqueryBuilder
based on the given criteria builder for the right hand side of the IN predicate.All occurrences of
subqueryAlias
inexpression
will be replaced by the subquery. When the builder finishes, the predicate is added to the parent predicate container represented by the typeT
.NOTE: This does not conform to the JPQL 2.1 specification
- Parameters:
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select item. This expression contains thesubqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery on- Returns:
- The subquery builder for building a subquery
- Since:
- 1.2.0
-
notIn
Likein(java.lang.String, java.lang.String)
but the result is wrapped in a NOT predicate.- Parameters:
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select item. This expression contains thesubqueryAlias
to define the insertion points for the subquery.- Returns:
- The subquery initiator for building a subquery
-
notInSubqueries
LikeinSubqueries(java.lang.String)
but the result is wrapped in a NOT predicate.- Parameters:
expression
- The expression for the right hand side of the NOT IN predicate.- Returns:
- The subquery initiator for building multiple subqueries for their respective subqueryAliases
- Since:
- 1.2.0
-
notIn
SubqueryBuilder<T> notIn(String subqueryAlias, String expression, FullQueryBuilder<?, ?> criteriaBuilder) Likein(java.lang.String, java.lang.String, FullQueryBuilder)
but the result is wrapped in a NOT predicate.- Parameters:
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be added as select item. This expression contains thesubqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery on- Returns:
- The subquery builder for building a subquery
- Since:
- 1.2.0
-