|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.collections.ColUpdateClause<T>
T - public class ColUpdateClause<T>
ColUpdateClause is an implementation of the UpdateClause interface for Querydsl Collections
| Constructor Summary | |
|---|---|
ColUpdateClause(Path<T> expr,
Iterable<? extends T> col)
|
|
ColUpdateClause(QueryEngine qe,
Path<T> expr,
Iterable<? extends T> col)
|
|
| Method Summary | ||
|---|---|---|
long |
execute()
Execute the clause and return the amount of affected rows |
|
ColUpdateClause<T> |
set(List<? extends Path<?>> p,
List<?> v)
Set the paths to be updated |
|
|
set(Path<U> path,
Expression<? extends U> expression)
Add an expression binding |
|
|
set(Path<U> path,
U value)
Add a value binding |
|
|
setNull(Path<U> path)
Bind the given path to null |
|
String |
toString()
|
|
ColUpdateClause<T> |
where(Predicate... o)
Adds the given filter conditions |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ColUpdateClause(QueryEngine qe,
Path<T> expr,
Iterable<? extends T> col)
public ColUpdateClause(Path<T> expr,
Iterable<? extends T> col)
| Method Detail |
|---|
public long execute()
DMLClause
execute in interface DMLClause<ColUpdateClause<T>>
public <U> ColUpdateClause<T> set(Path<U> path,
U value)
StoreClause
set in interface StoreClause<ColUpdateClause<T>>path - path to be updatedvalue - value to set
public <U> ColUpdateClause<T> set(Path<U> path,
Expression<? extends U> expression)
StoreClause
set in interface StoreClause<ColUpdateClause<T>>public <U> ColUpdateClause<T> setNull(Path<U> path)
StoreClause
setNull in interface StoreClause<ColUpdateClause<T>>
public ColUpdateClause<T> set(List<? extends Path<?>> p,
List<?> v)
UpdateClause
set in interface UpdateClause<ColUpdateClause<T>>public ColUpdateClause<T> where(Predicate... o)
FilteredClause
where in interface FilteredClause<ColUpdateClause<T>>o - filter conditions to be added
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||