|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jpattern.orm.query.SmartRenderableSqlSubElement
com.jpattern.orm.query.clause.OrmWhere<UpdateWhere>
com.jpattern.orm.query.update.UpdateWhereImpl
public class UpdateWhereImpl
| Constructor Summary | |
|---|---|
UpdateWhereImpl(UpdateQuery updateQuery)
|
|
| Method Summary | |
|---|---|
void |
appendValues(List<Object> values)
Append to the list all the values of the expression's elements |
int |
getQueryTimeout()
Return the query timeout for the query. |
int |
perform()
Perform the update and return the number of affected rows. |
UpdateQuery |
query()
Return the root query object |
String |
renderSql()
Return the sql query generated by this IQuery Object |
void |
renderSql(StringBuilder stringBuilder)
Append to the string buffer the sql query generated by this IQuery Object |
UpdateSet |
set()
Create or modify the "SET" clause of the update statement. |
UpdateQuery |
setQueryTimeout(int queryTimeout)
Set the query timeout for the query. |
protected UpdateWhere |
where()
|
| Methods inherited from class com.jpattern.orm.query.clause.OrmWhere |
|---|
allEq, and, and, appendElementValues, doElementRender, eq, eqProperties, ge, geProperties, getElementStatusVersion, gt, gtProperties, ieq, ieqProperties, ilike, in, in, in, isNotNull, isNull, le, leProperties, like, lt, ltProperties, ne, neProperties, nin, nin, nin, nlike, not, or, or, setNameSolver |
| Methods inherited from class com.jpattern.orm.query.SmartRenderableSqlSubElement |
|---|
isElementStatusChanged, renderSqlElement, renderSqlElement |
| 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.clause.Where |
|---|
allEq, and, and, eq, eqProperties, ge, geProperties, gt, gtProperties, ieq, ieqProperties, ilike, in, in, in, isNotNull, isNull, le, leProperties, like, lt, ltProperties, ne, neProperties, nin, nin, nin, nlike, not, or, or |
| Constructor Detail |
|---|
public UpdateWhereImpl(UpdateQuery updateQuery)
| Method Detail |
|---|
public UpdateQuery query()
UpdateWhere
query in interface UpdateWherepublic UpdateSet set()
UpdateWhere
set in interface UpdateWhereprotected UpdateWhere where()
where in class OrmWhere<UpdateWhere>public int perform()
UpdateQueryCommon
perform in interface UpdateQueryCommonpublic final void appendValues(List<Object> values)
RenderableSqlQuery
appendValues in interface RenderableSqlQuerypublic String renderSql()
RenderableSqlQuery
renderSql in interface RenderableSqlQuerypublic void renderSql(StringBuilder stringBuilder)
RenderableSqlQuery
renderSql in interface RenderableSqlQuerypublic UpdateQuery setQueryTimeout(int queryTimeout)
UpdateQueryCommon
setQueryTimeout in interface UpdateQueryCommonpublic int getQueryTimeout()
UpdateQueryCommon
getQueryTimeout in interface UpdateQueryCommon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||