T
- The entity type for which this update query isX
- The concrete builder typeBaseModificationCriteriaBuilder<X>
, BaseWhereBuilder<T>
, WhereBuilder<T>
ReturningUpdateCriteriaBuilder<T,X>
, UpdateCriteriaBuilder<T>
public interface BaseUpdateCriteriaBuilder<T,X extends BaseUpdateCriteriaBuilder<T,X>> extends BaseModificationCriteriaBuilder<X>
Modifier and Type | Method | Description |
---|---|---|
SubqueryInitiator<X> |
set(String attribute) |
Starts a subquery builder for creating an expression that should be bound to the attribute.
|
SubqueryBuilder<X> |
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.
|
X |
set(String attribute,
Object value) |
Binds the given value as parameter to the attribute.
|
X |
setExpression(String attribute,
String expression) |
Binds the given expression to the attribute.
|
MultipleSubqueryInitiator<X> |
setSubqueries(String attribute,
String expression) |
Starts a
MultipleSubqueryInitiator with the given expression that should bound to the attribute. |
where, whereCase, whereExists, whereExists, whereNotExists, whereNotExists, whereSimpleCase, whereSubqueries, whereSubquery, whereSubquery, whereSubquery, whereSubquery
setWhereExpression, setWhereExpressionSubqueries, whereOr
X set(String attribute, Object value)
attribute
- The attribute for which the value should be boundvalue
- The value that should be boundX setExpression(String attribute, String expression)
attribute
- The attribute for which the expression should be boundexpression
- The expression that should be boundSubqueryInitiator<X> set(String attribute)
attribute
- The attribute for which the subquery expression should be boundSubqueryBuilder<X> set(String attribute, FullQueryBuilder<?,?> criteriaBuilder)
attribute
- The attribute for which the subquery expression should be boundcriteriaBuilder
- The criteria builder to base the subquery onMultipleSubqueryInitiator<X> setSubqueries(String attribute, String expression)
MultipleSubqueryInitiator
with the given expression that should bound to the attribute.
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
.
attribute
- The attribute for which the expression should be boundexpression
- The expression for the lower bound of the between predicate.Copyright © 2014–2018 Blazebit. All rights reserved.