T
- The builder type that is returned on terminal operationsRestrictionBuilderExperimental<T>
public interface RestrictionBuilder<T>
SubqueryInitiator
.Modifier and Type | Method | Description |
---|---|---|
BetweenBuilder<T> |
between(Object start) |
Starts a builder for a between predicate with parameterized lower bound.
|
BetweenBuilder<T> |
betweenExpression(String start) |
Starts a builder for a between predicate with lower bound expression.
|
MultipleSubqueryInitiator<BetweenBuilder<T>> |
betweenSubqueries(String expression) |
Starts a
MultipleSubqueryInitiator for a between predicate with the given expression as lower bound. |
SubqueryInitiator<BetweenBuilder<T>> |
betweenSubquery() |
Starts a builder for a between predicate with a subquery as lower bound.
|
SubqueryBuilder<BetweenBuilder<T>> |
betweenSubquery(FullQueryBuilder<?,?> criteriaBuilder) |
Starts a builder for a between predicate with a subquery as lower bound.
|
SubqueryInitiator<BetweenBuilder<T>> |
betweenSubquery(String subqueryAlias,
String expression) |
Starts a builder for a between predicate with a subquery as lower bound.
|
SubqueryBuilder<BetweenBuilder<T>> |
betweenSubquery(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Starts a builder for a between predicate with a subquery as lower bound.
|
QuantifiableBinaryPredicateBuilder<T> |
eq() |
Starts a
QuantifiableBinaryPredicateBuilder for the EQ predicate that can be used to apply quantors. |
SubqueryBuilder<T> |
eq(FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the right hand side for the EQ predicate. |
T |
eq(Object value) |
Finishes the EQ predicate and adds it to the parent predicate container represented by the type
T . |
SubqueryInitiator<T> |
eq(String subqueryAlias,
String expression) |
Starts a
SubqueryInitiator for the EQ predicate that can be used to apply quantors. |
SubqueryBuilder<T> |
eq(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the EQ predicate that can be used to apply quantors. |
T |
eqExpression(String expression) |
Finishes the EQ predicate and adds it to the parent predicate container represented by the type
T . |
MultipleSubqueryInitiator<T> |
eqSubqueries(String expression) |
Starts a
SubqueryInitiator for the EQ predicate that can be used to apply quantors. |
QuantifiableBinaryPredicateBuilder<T> |
ge() |
Starts a
QuantifiableBinaryPredicateBuilder for the GE predicate that can be used to apply quantors. |
SubqueryBuilder<T> |
ge(FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the GE predicate that can be used to apply quantors. |
T |
ge(Object value) |
Finishes the GE predicate and adds it to the parent predicate container represented by the type
T . |
SubqueryInitiator<T> |
ge(String subqueryAlias,
String expression) |
Starts a
SubqueryInitiator for the GE predicate that can be used to apply quantors. |
SubqueryBuilder<T> |
ge(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the GE predicate that can be used to apply quantors. |
T |
geExpression(String expression) |
Finishes the GE predicate and adds it to the parent predicate container represented by the type
T . |
MultipleSubqueryInitiator<T> |
geSubqueries(String expression) |
Starts a
SubqueryInitiator for the GE predicate that can be used to apply quantors. |
QuantifiableBinaryPredicateBuilder<T> |
gt() |
Starts a
QuantifiableBinaryPredicateBuilder for the GT predicate that can be used to apply quantors. |
SubqueryBuilder<T> |
gt(FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the GT predicate that can be used to apply quantors. |
T |
gt(Object value) |
Finishes the GT predicate and adds it to the parent predicate container represented by the type
T . |
SubqueryInitiator<T> |
gt(String subqueryAlias,
String expression) |
Starts a
SubqueryInitiator for the GT predicate that can be used to apply quantors. |
SubqueryBuilder<T> |
gt(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the GT predicate that can be used to apply quantors. |
T |
gtExpression(String expression) |
Finishes the GT predicate and adds it to the parent predicate container represented by the type
T . |
MultipleSubqueryInitiator<T> |
gtSubqueries(String expression) |
Starts a
SubqueryInitiator for the GT predicate that can be used to apply quantors. |
SubqueryInitiator<T> |
in() |
Starts a
SubqueryInitiator for the right hand side of the IN predicate. |
SubqueryBuilder<T> |
in(FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the right hand side of the IN predicate. |
T |
in(Object... values) |
Like
in(java.util.Collection) but the values will be wrapped in a Collection . |
T |
in(Collection<?> values) |
Finishes the IN predicate and adds it to the parent predicate container represented by the type
T . |
T |
inExpressions(String... parameterOrLiteralExpressions) |
Finishes the IN predicate and adds it to the parent predicate container represented by the type
T . |
T |
isEmpty() |
Finishes the IS EMPTY predicate and adds it to the parent predicate container represented by the type
T . |
T |
isMemberOf(String expression) |
Finishes the MEMBER OF predicate and adds it to the parent predicate container represented by the type
T . |
T |
isNotEmpty() |
Like
isEmpty() but the result is wrapped in a NOT predicate. |
T |
isNotMemberOf(String expression) |
Like
isMemberOf(java.lang.String) but the result is wrapped in a NOT predicate. |
T |
isNotNull() |
Like
isNull() but the result is wrapped in a NOT predicate. |
T |
isNull() |
Finishes the IS NULL predicate and adds it to the parent predicate container represented by the type
T . |
QuantifiableBinaryPredicateBuilder<T> |
le() |
Starts a
QuantifiableBinaryPredicateBuilder for the LE predicate that can be used to apply quantors. |
SubqueryBuilder<T> |
le(FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the LE predicate that can be used to apply quantors. |
T |
le(Object value) |
Finishes the LE predicate and adds it to the parent predicate container represented by the type
T . |
SubqueryInitiator<T> |
le(String subqueryAlias,
String expression) |
Starts a
SubqueryInitiator for the LE predicate that can be used to apply quantors. |
SubqueryBuilder<T> |
le(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the LE predicate that can be used to apply quantors. |
T |
leExpression(String expression) |
Finishes the LE predicate and adds it to the parent predicate container represented by the type
T . |
MultipleSubqueryInitiator<T> |
leSubqueries(String expression) |
Starts a
SubqueryInitiator for the LE predicate that can be used to apply quantors. |
LikeBuilder<T> |
like() |
Like
like(boolean) with caseSensitive = true . |
LikeBuilder<T> |
like(boolean caseSensitive) |
Creates a
LikeBuilder for building a like predicate. |
QuantifiableBinaryPredicateBuilder<T> |
lt() |
Starts a
QuantifiableBinaryPredicateBuilder for the LT predicate that can be used to apply quantors. |
SubqueryBuilder<T> |
lt(FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the LT predicate that can be used to apply quantors. |
T |
lt(Object value) |
Finishes the LT predicate and adds it to the parent predicate container represented by the type
T . |
SubqueryInitiator<T> |
lt(String subqueryAlias,
String expression) |
Starts a
SubqueryInitiator for the LT predicate that can be used to apply quantors. |
SubqueryBuilder<T> |
lt(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Starts a
SubqueryBuilder based on the given criteria builder for the LT predicate that can be used to apply quantors. |
T |
ltExpression(String expression) |
Finishes the LT predicate and adds it to the parent predicate container represented by the type
T . |
MultipleSubqueryInitiator<T> |
ltSubqueries(String expression) |
Starts a
SubqueryInitiator for the LT predicate that can be used to apply quantors. |
RestrictionBuilderExperimental<T> |
nonPortable() |
Switch to the non portable mode which might to be portable to other JPA providers.
|
BetweenBuilder<T> |
notBetween(Object start) |
Like
notBetween(java.lang.Object) but the resulting predicate is negated. |
BetweenBuilder<T> |
notBetweenExpression(String start) |
Like
betweenExpression(java.lang.String) but the resulting predicate is negated. |
MultipleSubqueryInitiator<BetweenBuilder<T>> |
notBetweenSubqueries(String expression) |
Like
betweenSubqueries(java.lang.String) but the resulting predicate is negated. |
SubqueryInitiator<BetweenBuilder<T>> |
notBetweenSubquery() |
Like
betweenSubquery() but the resulting predicate is negated. |
SubqueryBuilder<BetweenBuilder<T>> |
notBetweenSubquery(FullQueryBuilder<?,?> criteriaBuilder) |
Like
betweenSubquery(FullQueryBuilder) but the resulting predicate is negated. |
SubqueryInitiator<BetweenBuilder<T>> |
notBetweenSubquery(String subqueryAlias,
String expression) |
Like
betweenSubquery(java.lang.String, java.lang.String) but the resulting predicate is negated. |
SubqueryBuilder<BetweenBuilder<T>> |
notBetweenSubquery(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Like
betweenSubquery(java.lang.String, java.lang.String, FullQueryBuilder) but the resulting predicate is negated. |
QuantifiableBinaryPredicateBuilder<T> |
notEq() |
Like
eq() but the result is wrapped in a NOT predicate. |
SubqueryBuilder<T> |
notEq(FullQueryBuilder<?,?> criteriaBuilder) |
Like
eq(FullQueryBuilder) but the result is wrapped in a NOT predicate. |
T |
notEq(Object value) |
Like
eq(java.lang.Object) but the result is wrapped in a NOT predicate. |
SubqueryInitiator<T> |
notEq(String subqueryAlias,
String expression) |
Like
eq(java.lang.String,java.lang.String) but the result is wrapped in a NOT predicate. |
SubqueryBuilder<T> |
notEq(String subqueryAlias,
String expression,
FullQueryBuilder<?,?> criteriaBuilder) |
Like
eq(java.lang.String,java.lang.String, FullQueryBuilder) but the result is wrapped in a NOT predicate. |
T |
notEqExpression(String expression) |
Like
eqExpression(java.lang.String) but the result is wrapped in a NOT predicate. |
MultipleSubqueryInitiator<T> |
notEqSubqueries(String expression) |
Like
eqSubqueries(java.lang.String) but the result is wrapped in a NOT predicate. |
SubqueryInitiator<T> |
notIn() |
Like
in() but the result is wrapped in a NOT predicate. |
SubqueryBuilder<T> |
notIn(FullQueryBuilder<?,?> criteriaBuilder) |
Like
in(FullQueryBuilder) but the result is wrapped in a NOT predicate. |
T |
notIn(Object... values) |
Like
notIn(java.util.Collection) but the values will be wrapped in a Collection . |
T |
notIn(Collection<?> values) |
Like
in(java.util.Collection) but the result is wrapped in a NOT predicate. |
T |
notInExpressions(String... parameterOrLiteralExpressions) |
Like
inExpressions(String...) but the result is wrapped in a NOT predicate. |
LikeBuilder<T> |
notLike() |
Like
notLike(boolean) with caseSensitive = true . |
LikeBuilder<T> |
notLike(boolean caseSensitive) |
Like
like(boolean) but the resulting like predicate is negated. |
BetweenBuilder<T> betweenExpression(String start)
start
- The between start expressionBetweenBuilder
BetweenBuilder<T> between(Object start)
start
- The between start valueBetweenBuilder
SubqueryInitiator<BetweenBuilder<T>> betweenSubquery()
SubqueryInitiator
SubqueryInitiator<BetweenBuilder<T>> betweenSubquery(String subqueryAlias, String expression)
All occurrences of subqueryAlias
in expression
will be replaced by the subquery. When the subquery
builder and the restriction builder for the right hand side are finished, the when predicate in conjunction with it's then
expression are added to this predicate container as disjunct.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as left hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.SubqueryInitiator
MultipleSubqueryInitiator<BetweenBuilder<T>> betweenSubqueries(String expression)
MultipleSubqueryInitiator
for a between predicate with the given expression as lower bound.
All occurrences of subsequently defined subqueryAlias
es in expression
will be replaced by the respective subquery.
When the builder finishes, the predicate is added to the parent predicate container represented by the type T
.
expression
- The expression for the lower bound of the between predicate.SubqueryBuilder<BetweenBuilder<T>> betweenSubquery(FullQueryBuilder<?,?> criteriaBuilder)
criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<BetweenBuilder<T>> betweenSubquery(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
All occurrences of subqueryAlias
in expression
will be replaced by the subquery. When the subquery
builder and the restriction builder for the right hand side are finished, the when predicate in conjunction with it's then
expression are added to this predicate container as disjunct.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as left hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery onBetweenBuilder<T> notBetweenExpression(String start)
betweenExpression(java.lang.String)
but the resulting predicate is negated.start
- The between start expressionBetweenBuilder
BetweenBuilder<T> notBetween(Object start)
notBetween(java.lang.Object)
but the resulting predicate is negated.start
- The between start valueBetweenBuilder
SubqueryInitiator<BetweenBuilder<T>> notBetweenSubquery()
betweenSubquery()
but the resulting predicate is negated.SubqueryInitiator
SubqueryInitiator<BetweenBuilder<T>> notBetweenSubquery(String subqueryAlias, String expression)
betweenSubquery(java.lang.String, java.lang.String)
but the resulting predicate is negated.subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as left hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.SubqueryInitiator
MultipleSubqueryInitiator<BetweenBuilder<T>> notBetweenSubqueries(String expression)
betweenSubqueries(java.lang.String)
but the resulting predicate is negated.expression
- The expression for the lower bound of the between predicate.SubqueryBuilder<BetweenBuilder<T>> notBetweenSubquery(FullQueryBuilder<?,?> criteriaBuilder)
betweenSubquery(FullQueryBuilder)
but the resulting predicate is negated.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<BetweenBuilder<T>> notBetweenSubquery(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
betweenSubquery(java.lang.String, java.lang.String, FullQueryBuilder)
but the resulting predicate is negated.subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as left hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery onQuantifiableBinaryPredicateBuilder<T> eq()
QuantifiableBinaryPredicateBuilder
for the EQ predicate that can be used to apply quantors.SubqueryInitiator<T> eq(String subqueryAlias, String expression)
SubqueryInitiator
for the EQ predicate that can be used to apply quantors.
All occurrences of subqueryAlias
in expression
will be replaced by the 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
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as left hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.MultipleSubqueryInitiator<T> eqSubqueries(String expression)
SubqueryInitiator
for the EQ predicate that can be used to apply quantors.
All occurrences of subsequently defined subqueryAlias
es in expression
will be replaced by the respective subquery.
When the builder finishes, the predicate is added to the parent predicate container represented by the type T
.
expression
- The expression for the right hand side of the EQ predicate.SubqueryBuilder<T> eq(FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the right hand side for the EQ predicate.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<T> eq(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the EQ predicate that can be used to apply quantors.
All occurrences of subqueryAlias
in expression
will be replaced by the 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
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as left hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery onT eq(Object value)
T
.
The predicate checks if the left hand side is equal to the given value.value
- The value on the right hand sideT eqExpression(String expression)
T
.
The predicate checks if the left hand side is equal to the given expression.expression
- The expression on the right hand sideQuantifiableBinaryPredicateBuilder<T> notEq()
eq()
but the result is wrapped in a NOT predicate.SubqueryInitiator<T> notEq(String subqueryAlias, String expression)
eq(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 used as left hand side of a predicateMultipleSubqueryInitiator<T> notEqSubqueries(String expression)
eqSubqueries(java.lang.String)
but the result is wrapped in a NOT predicate.expression
- The expression for the right hand side of the NOT EQ predicate.SubqueryBuilder<T> notEq(FullQueryBuilder<?,?> criteriaBuilder)
eq(FullQueryBuilder)
but the result is wrapped in a NOT predicate.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<T> notEq(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
eq(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 used as left hand side of a predicatecriteriaBuilder
- The criteria builder to base the subquery onT notEq(Object value)
eq(java.lang.Object)
but the result is wrapped in a NOT predicate.value
- The value on the right hand sideT notEqExpression(String expression)
eqExpression(java.lang.String)
but the result is wrapped in a NOT predicate.expression
- The expression on the right hand sideQuantifiableBinaryPredicateBuilder<T> gt()
QuantifiableBinaryPredicateBuilder
for the GT predicate that can be used to apply quantors.SubqueryInitiator<T> gt(String subqueryAlias, String expression)
SubqueryInitiator
for the GT predicate that can be used to apply quantors.
All occurrences of subqueryAlias
in expression
will be replaced by the 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
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as right hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.MultipleSubqueryInitiator<T> gtSubqueries(String expression)
SubqueryInitiator
for the GT predicate that can be used to apply quantors.
All occurrences of subsequently defined subqueryAlias
es in expression
will be replaced by the respective subquery.
When the builder finishes, the predicate is added to the parent predicate container represented by the type T
.
expression
- The expression for the right hand side of the GT predicate.SubqueryBuilder<T> gt(FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the GT predicate that can be used to apply quantors.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<T> gt(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the GT predicate that can be used to apply quantors.
All occurrences of subqueryAlias
in expression
will be replaced by the 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
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as right hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery onT gt(Object value)
T
.
The predicate checks if the left hand side is greater than the given value.value
- The value on the right hand sideT gtExpression(String expression)
T
.
The predicate checks if the left hand side is greater than the given expression.expression
- The expression on the right hand sideQuantifiableBinaryPredicateBuilder<T> ge()
QuantifiableBinaryPredicateBuilder
for the GE predicate that can be used to apply quantors.SubqueryInitiator<T> ge(String subqueryAlias, String expression)
SubqueryInitiator
for the GE predicate that can be used to apply quantors.
All occurrences of subqueryAlias
in expression
will be replaced by the 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
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as left hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.MultipleSubqueryInitiator<T> geSubqueries(String expression)
SubqueryInitiator
for the GE predicate that can be used to apply quantors.
All occurrences of subsequently defined subqueryAlias
es in expression
will be replaced by the respective subquery.
When the builder finishes, the predicate is added to the parent predicate container represented by the type T
.
expression
- The expression for the right hand side of the GE predicate.SubqueryBuilder<T> ge(FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the GE predicate that can be used to apply quantors.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<T> ge(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the GE predicate that can be used to apply quantors.
All occurrences of subqueryAlias
in expression
will be replaced by the 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
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as left hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery onT ge(Object value)
T
.
The predicate checks if the left hand side is greater or equal to the given value.value
- The value on the right hand sideT geExpression(String expression)
T
.
The predicate checks if the left hand side is greater or equal to the given expression.expression
- The expression on the right hand sideQuantifiableBinaryPredicateBuilder<T> lt()
QuantifiableBinaryPredicateBuilder
for the LT predicate that can be used to apply quantors.SubqueryInitiator<T> lt(String subqueryAlias, String expression)
SubqueryInitiator
for the LT predicate that can be used to apply quantors.
All occurrences of subqueryAlias
in expression
will be replaced by the 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
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as right hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.MultipleSubqueryInitiator<T> ltSubqueries(String expression)
SubqueryInitiator
for the LT predicate that can be used to apply quantors.
All occurrences of subsequently defined subqueryAlias
es in expression
will be replaced by the respective subquery.
When the builder finishes, the predicate is added to the parent predicate container represented by the type T
.
expression
- The expression for the right hand side of the LT predicate.SubqueryBuilder<T> lt(FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the LT predicate that can be used to apply quantors.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<T> lt(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the LT predicate that can be used to apply quantors.
All occurrences of subqueryAlias
in expression
will be replaced by the 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
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as right hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery onT lt(Object value)
T
.
The predicate checks if the left hand side is less than the given value.value
- The value on the right hand sideT ltExpression(String expression)
T
.
The predicate checks if the left hand side is less than the given expression.expression
- The expression on the right hand sideQuantifiableBinaryPredicateBuilder<T> le()
QuantifiableBinaryPredicateBuilder
for the LE predicate that can be used to apply quantors.SubqueryInitiator<T> le(String subqueryAlias, String expression)
SubqueryInitiator
for the LE predicate that can be used to apply quantors.
All occurrences of subqueryAlias
in expression
will be replaced by the 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
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as right hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.MultipleSubqueryInitiator<T> leSubqueries(String expression)
SubqueryInitiator
for the LE predicate that can be used to apply quantors.
All occurrences of subsequently defined subqueryAlias
es in expression
will be replaced by the respective subquery.
When the builder finishes, the predicate is added to the parent predicate container represented by the type T
.
expression
- The expression for the right hand side of the LE predicate.SubqueryBuilder<T> le(FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the LE predicate that can be used to apply quantors.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<T> le(String subqueryAlias, String expression, FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the LE predicate that can be used to apply quantors.
All occurrences of subqueryAlias
in expression
will be replaced by the 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
.
subqueryAlias
- The alias for the subquery which will be replaced by the actual subqueryexpression
- The expression which will be used as right hand side of a predicate.
This expression contains the subqueryAlias
to define the insertion points for the subquery.criteriaBuilder
- The criteria builder to base the subquery onT le(Object value)
T
.
The predicate checks if the left hand side is less or equal to the given value.value
- The value on the right hand sideT leExpression(String expression)
T
.
The predicate checks if the left hand side is less or equal to the given expression.expression
- The expression on the right hand sideSubqueryInitiator<T> in()
SubqueryInitiator
for the right hand side of the IN predicate.
When the builder finishes, the predicate is added to the parent predicate container represented by the type T
.SubqueryInitiator<T> notIn()
in()
but the result is wrapped in a NOT predicate.SubqueryBuilder<T> in(FullQueryBuilder<?,?> criteriaBuilder)
SubqueryBuilder
based on the given criteria builder for the right hand side of the IN predicate.
When the builder finishes, the predicate is added to the parent predicate container represented by the type T
.criteriaBuilder
- The criteria builder to base the subquery onSubqueryBuilder<T> notIn(FullQueryBuilder<?,?> criteriaBuilder)
in(FullQueryBuilder)
but the result is wrapped in a NOT predicate.criteriaBuilder
- The criteria builder to base the subquery onT inExpressions(String... parameterOrLiteralExpressions)
T
.
The predicate checks if the left hand side is in the parameter- or literal-expressions denoted by the given parameters.parameterOrLiteralExpressions
- The parameter- or literal-expressions on the right hand sideT in(Collection<?> values)
T
.
The predicate checks if the left hand side is in the list of given values.values
- The values on the right hand sideT in(Object... values)
in(java.util.Collection)
but the values will be wrapped in a Collection
.values
- The values on the right hand sideT notInExpressions(String... parameterOrLiteralExpressions)
inExpressions(String...)
but the result is wrapped in a NOT predicate.parameterOrLiteralExpressions
- The parameter- or literal-expressions on the right hand sideT notIn(Collection<?> values)
in(java.util.Collection)
but the result is wrapped in a NOT predicate.values
- The values on the right hand sideT notIn(Object... values)
notIn(java.util.Collection)
but the values will be wrapped in a Collection
.values
- The values on the right hand sideT isNull()
T
.
The predicate checks if the left hand side is null.T isNotNull()
isNull()
but the result is wrapped in a NOT predicate.T isEmpty()
T
.
The predicate checks if the left hand side is empty.T isNotEmpty()
isEmpty()
but the result is wrapped in a NOT predicate.T isMemberOf(String expression)
T
.
The predicate checks if the left hand side is of the given expression.expression
- The expression on the right hand sideT isNotMemberOf(String expression)
isMemberOf(java.lang.String)
but the result is wrapped in a NOT predicate.expression
- The expression on the right hand sideLikeBuilder<T> like(boolean caseSensitive)
LikeBuilder
for building a like predicate.
The predicate checks if the left hand side is like the pattern delivered by the LikeBuilder
while respecting the case
sensitivity according to the caseSensitive
parameter.
Once the LikeBuilder
is finished, the predicate is added to the parent predicate container represented by the type
T
.
caseSensitive
- If true, the comparison of the left hand side expression with the pattern
respects is performed case sensitive, else it is performed case insensitive.LikeBuilder
for building the comparison pattern.LikeBuilder<T> like()
like(boolean)
with caseSensitive = true
.LikeBuilder
for building the comparison pattern.LikeBuilder<T> notLike(boolean caseSensitive)
like(boolean)
but the resulting like predicate is negated.caseSensitive
- If true, the comparison of the left hand side expression with the pattern
respects is performed case sensitive, else it is performed case insensitive.LikeBuilder
for building the comparison pattern.LikeBuilder<T> notLike()
notLike(boolean)
with caseSensitive = true
.LikeBuilder
for building the comparison pattern.RestrictionBuilderExperimental<T> nonPortable()
Copyright © 2014–2019 Blazebit. All rights reserved.