public class SQLUpdateAllStatement extends SQLModifyStatement
| Modifier and Type | Field and Description |
|---|---|
protected HashMap |
databaseFieldsToTableAliases |
protected HashMap |
m_updateClauses |
protected Collection |
primaryKeyFields |
protected SQLCall |
selectCallForExist |
protected boolean |
shouldExtractWhereClauseFromSelectCallForExist |
protected String |
tableAliasInSelectCallForExist |
modifyRow, returnFields, tablebuilder, translationRow, whereClause| Constructor and Description |
|---|
SQLUpdateAllStatement() |
buildCallWithoutReturning, getModifyRow, getReturnFields, getTable, setModifyRow, setReturnFields, setTableclone, getBuilder, getExpressionBuilder, getTranslationRow, getWhereClause, setBuilder, setTranslationRow, setWhereClause, toStringprotected HashMap m_updateClauses
protected HashMap databaseFieldsToTableAliases
protected SQLCall selectCallForExist
protected String tableAliasInSelectCallForExist
protected Collection primaryKeyFields
protected boolean shouldExtractWhereClauseFromSelectCallForExist
public void setSelectCallForExist(SQLCall selectCallForExist)
public SQLCall getSelectCallForExist()
public void setTableAliasInSelectCallForExist(String tableAliasInSelectCallForExist)
public String getTableAliasInSelectCallForExist()
public void setPrimaryKeyFieldsForAutoJoin(Collection primaryKeyFields)
public Collection getPrimaryKeyFieldsForAutoJoin()
public void setUpdateClauses(HashMap updateClauses)
public HashMap getUpdateClauses()
public void setDatabaseFieldsToTableAliases(HashMap databaseFieldsToTableAliases)
public HashMap getDatabaseFieldsToTableAliases()
public void setShouldExtractWhereClauseFromSelectCallForExist(boolean shouldExtractWhereClauseFromSelectCallForExist)
public boolean shouldExtractWhereClauseFromSelectCallForExist()
public DatabaseCall buildCall(AbstractSession session)
buildCall in class SQLModifyStatementprotected SQLCall buildSimple(AbstractSession session)
protected void writeSelect(Writer writer, SQLCall selectCall, String tableAliasInSelectCall, SQLCall call) throws IOException
IOExceptionprotected boolean writeWhere(Writer writer, SQLCall selectCall, SQLCall call) throws IOException
IOExceptionCopyright © 2023. All rights reserved.