com.mysema.query.sql.dml
Class SQLUpdateClause
java.lang.Object
com.mysema.query.sql.dml.AbstractDMLClause
com.mysema.query.sql.dml.SQLUpdateClause
- All Implemented Interfaces:
- UpdateClause<SQLUpdateClause>
public class SQLUpdateClause
- extends AbstractDMLClause
- implements UpdateClause<SQLUpdateClause>
- Author:
- tiwe
Method Summary |
long |
execute()
Execute the delete clause and return the amount of updated rows/items |
|
set(Path<T> path,
T value)
Set the paths to be updated |
SQLUpdateClause |
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 |
SQLUpdateClause
public SQLUpdateClause(Connection connection,
SQLTemplates templates,
PEntity<?> entity)
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<SQLUpdateClause>
- Returns:
set
public <T> SQLUpdateClause set(Path<T> path,
T value)
- Description copied from interface:
UpdateClause
- Set the paths to be updated
- Specified by:
set
in interface UpdateClause<SQLUpdateClause>
- Parameters:
path
- path to be updatedvalue
- value to set
- Returns:
where
public SQLUpdateClause where(EBoolean... o)
- Description copied from interface:
UpdateClause
- Defines the filter constraints
- Specified by:
where
in interface UpdateClause<SQLUpdateClause>
- Returns:
Copyright © 2007-2009 Mysema Ltd. All Rights Reserved.