com.mysema.query.collections.dml
Class ColUpdateClause<T>

java.lang.Object
  extended by com.mysema.query.collections.dml.ColUpdateClause<T>
Type Parameters:
T -
All Implemented Interfaces:
UpdateClause<ColUpdateClause<T>>

public class ColUpdateClause<T>
extends Object
implements UpdateClause<ColUpdateClause<T>>

Author:
tiwe

Constructor Summary
ColUpdateClause(EvaluatorFactory ef, Path<T> expr, Iterable<? extends T> col)
           
 
Method Summary
 long execute()
          Execute the delete clause and return the amount of updated rows/items
<U> ColUpdateClause<T>
set(Path<U> path, U value)
          Set the paths to be updated
 ColUpdateClause<T> where(EBoolean... o)
          Defines the filter constraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColUpdateClause

public ColUpdateClause(EvaluatorFactory ef,
                       Path<T> expr,
                       Iterable<? extends T> col)
Method Detail

execute

public long execute()
Description copied from interface: UpdateClause
Execute the delete clause and return the amount of updated rows/items

Specified by:
execute in interface UpdateClause<ColUpdateClause<T>>
Returns:

set

public <U> ColUpdateClause<T> set(Path<U> path,
                                  U value)
Description copied from interface: UpdateClause
Set the paths to be updated

Specified by:
set in interface UpdateClause<ColUpdateClause<T>>
Parameters:
path - path to be updated
value - value to set
Returns:

where

public ColUpdateClause<T> where(EBoolean... o)
Description copied from interface: UpdateClause
Defines the filter constraints

Specified by:
where in interface UpdateClause<ColUpdateClause<T>>
Returns:


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.