|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.sql.dml.SQLUpdateClause
public class SQLUpdateClause
SQLUpdateClause defines a UPDATE clause
Constructor Summary | |
---|---|
SQLUpdateClause(java.sql.Connection connection,
Configuration configuration,
PEntity<?> entity)
|
|
SQLUpdateClause(java.sql.Connection connection,
SQLTemplates templates,
PEntity<?> entity)
|
Method Summary | ||
---|---|---|
protected void |
close(java.sql.PreparedStatement stmt)
|
|
long |
execute()
Execute the clause and return the amount of affected rows |
|
SQLUpdateClause |
set(java.util.List<? extends Path<?>> paths,
java.util.List<?> values)
Set the paths to be updated |
|
|
set(Path<T> path,
T value)
Add a value binding |
|
java.lang.String |
toString()
|
|
SQLUpdateClause |
where(EBoolean... o)
Defines the filter constraints |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SQLUpdateClause(java.sql.Connection connection, SQLTemplates templates, PEntity<?> entity)
public SQLUpdateClause(java.sql.Connection connection, Configuration configuration, PEntity<?> entity)
Method Detail |
---|
protected void close(java.sql.PreparedStatement stmt)
public long execute()
DMLClause
execute
in interface DMLClause<SQLUpdateClause>
public <T> SQLUpdateClause set(Path<T> path, T value)
StoreClause
set
in interface StoreClause<SQLUpdateClause>
path
- path to be updatedvalue
- value to set
public SQLUpdateClause set(java.util.List<? extends Path<?>> paths, java.util.List<?> values)
UpdateClause
set
in interface UpdateClause<SQLUpdateClause>
public SQLUpdateClause where(EBoolean... o)
FilteredClause
where
in interface FilteredClause<SQLUpdateClause>
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |