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, table
builder, translationRow, whereClause
Constructor and Description |
---|
SQLUpdateAllStatement() |
buildCallWithoutReturning, getModifyRow, getReturnFields, getTable, setModifyRow, setReturnFields, setTable
clone, getBuilder, getExpressionBuilder, getTranslationRow, getWhereClause, setBuilder, setTranslationRow, setWhereClause, toString
protected 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 SQLModifyStatement
protected SQLCall buildSimple(AbstractSession session)
protected void writeSelect(Writer writer, SQLCall selectCall, String tableAliasInSelectCall, SQLCall call) throws IOException
IOException
protected boolean writeWhere(Writer writer, SQLCall selectCall, SQLCall call) throws IOException
IOException
Copyright © 2022. All rights reserved.