T
- The builder type that is returned on terminal operationsRestrictionBuilder<T>
public interface RestrictionBuilderExperimental<T> extends RestrictionBuilder<T>
Modifier and Type | Method | Description |
---|---|---|
SubqueryInitiator<T> |
in(String subqueryAlias,
String expression) |
Starts a
SubqueryInitiator for the right hand side of the IN predicate. |
SubqueryBuilder<T> |
in(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the right hand side of the IN predicate. |
MultipleSubqueryInitiator<T> |
inSubqueries(String expression) |
Starts a
MultipleSubqueryInitiator for the right hand side of the IN predicate. |
SubqueryInitiator<T> |
notIn(String subqueryAlias,
String expression) |
Like
in(java.lang.String, java.lang.String) but the result is wrapped in a NOT predicate. |
SubqueryBuilder<T> |
notIn(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Like
in(java.lang.String, java.lang.String, FullQueryBuilder) but the result is wrapped in a NOT predicate. |
MultipleSubqueryInitiator<T> |
notInSubqueries(String expression) |
Like
inSubqueries(java.lang.String) but the result is wrapped in a NOT predicate. |
between, betweenExpression, betweenSubqueries, betweenSubquery, betweenSubquery, betweenSubquery, betweenSubquery, eq, eq, eq, eq, eq, eqExpression, eqSubqueries, ge, ge, ge, ge, ge, geExpression, geSubqueries, gt, gt, gt, gt, gt, gtExpression, gtSubqueries, in, in, in, in, inExpressions, isEmpty, isMemberOf, isNotEmpty, isNotMemberOf, isNotNull, isNull, le, le, le, le, le, leExpression, leSubqueries, like, like, lt, lt, lt, lt, lt, ltExpression, ltSubqueries, nonPortable, notBetween, notBetweenExpression, notBetweenSubqueries, notBetweenSubquery, notBetweenSubquery, notBetweenSubquery, notBetweenSubquery, notEq, notEq, notEq, notEq, notEq, notEqExpression, notEqSubqueries, notIn, notIn, notIn, notIn, notInExpressions, notLike, notLike
SubqueryInitiator<T> in(String subqueryAlias, String expression)
SubqueryInitiator
for the right hand side of the IN predicate.
All occurrences of subqueryAlias
in expression
will be replaced by the subquery. When the builder
finishes, the predicate is added to the parent predicate container represented by the type T
.
NOTE: This does not conform to the JPQL 2.1 specification
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 the subqueryAlias
to define the insertion points for the subquery.MultipleSubqueryInitiator<T> inSubqueries(String expression)
MultipleSubqueryInitiator
for the right hand side of the IN predicate.
All occurrences of subsequently defined subqueryAlias
es in expression
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 type T
.
NOTE: This does not conform to the JPQL 2.1 specification
expression
- The expression for the right hand side of the IN predicate.SubqueryBuilder<T> in(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the right hand side of the IN predicate.
All occurrences of subqueryAlias
in expression
will be replaced by the subquery. When the builder
finishes, the predicate is added to the parent predicate container represented by the type T
.
NOTE: This does not conform to the JPQL 2.1 specification
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 the subqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery onSubqueryInitiator<T> notIn(String subqueryAlias, String expression)
in(java.lang.String, java.lang.String)
but the result is wrapped in a NOT predicate.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 the subqueryAlias
to define the insertion points for the subquery.MultipleSubqueryInitiator<T> notInSubqueries(String expression)
inSubqueries(java.lang.String)
but the result is wrapped in a NOT predicate.expression
- The expression for the right hand side of the NOT IN predicate.SubqueryBuilder<T> notIn(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
in(java.lang.String, java.lang.String, FullQueryBuilder)
but the result is wrapped in a NOT predicate.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 the subqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery onCopyright © 2014–2018 Blazebit. All rights reserved.