|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jpattern.orm.query.SmartRenderableSqlQuery
com.jpattern.orm.query.update.UpdateQueryOrm
public class UpdateQueryOrm
| Constructor Summary | |
|---|---|
UpdateQueryOrm(Class<?> clazz,
IOrmClassToolMap ormClassToolMap,
SessionSqlPerformer session,
TypeFactory typeFactory)
|
|
| Method Summary | |
|---|---|
void |
appendValues(List<Object> values)
Append to the list all the values of the expression's elements |
void |
doRender(StringBuilder StringBuilder)
|
int |
getQueryTimeout()
Return the query timeout for the query. |
int |
getStatusVersion()
|
int |
perform()
Perform the update and return the number of affected rows. |
UpdateSet |
set()
Create or modify the "SET" clause of the update statement. |
void |
setNameSolver(NameSolver nameSolver)
|
UpdateQuery |
setQueryTimeout(int queryTimeout)
Set the query timeout for the query. |
UpdateWhere |
where()
Create or modify the "WHERE" clause of the statement. |
| Methods inherited from class com.jpattern.orm.query.SmartRenderableSqlQuery |
|---|
isStatusChanged, renderSql, renderSql |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jpattern.orm.query.RenderableSqlQuery |
|---|
renderSql, renderSql |
| Constructor Detail |
|---|
public UpdateQueryOrm(Class<?> clazz,
IOrmClassToolMap ormClassToolMap,
SessionSqlPerformer session,
TypeFactory typeFactory)
| Method Detail |
|---|
public UpdateWhere where()
UpdateQuery
where in interface UpdateQuerypublic int perform()
UpdateQueryCommon
perform in interface UpdateQueryCommonpublic final void appendValues(List<Object> values)
RenderableSqlQuery
appendValues in interface RenderableSqlQuerypublic UpdateQuery setQueryTimeout(int queryTimeout)
UpdateQueryCommon
setQueryTimeout in interface UpdateQueryCommonpublic int getQueryTimeout()
UpdateQueryCommon
getQueryTimeout in interface UpdateQueryCommonpublic void setNameSolver(NameSolver nameSolver)
setNameSolver in interface NameSolverConsumerpublic int getStatusVersion()
getStatusVersion in class SmartRenderableSqlQuerypublic final void doRender(StringBuilder StringBuilder)
doRender in class SmartRenderableSqlQuerypublic UpdateSet set()
UpdateQuery
set in interface UpdateQuery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||