Package net.tirasa.connid.commons.db
Class UpdateSetBuilder
java.lang.Object
net.tirasa.connid.commons.db.OperationBuilder
net.tirasa.connid.commons.db.UpdateSetBuilder
The update set builder create the database update statement.
The main functionality is create set part of update statement from Attribute set
- Since:
- 1.0
- Version:
- $Revision 1.0$
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd column name and value pair.Add column name and expression value pair.void
Add the update value.getSQL()
Build the set SQL.
-
Constructor Details
-
UpdateSetBuilder
public UpdateSetBuilder()
-
-
Method Details
-
addBind
Add column name and value pair.- Specified by:
addBind
in classOperationBuilder
- Parameters:
param
- value- Returns:
- self
-
addBind
Add column name and expression value pair.- Parameters:
param
- the value to bindexpression
- the expression- Returns:
- self
-
getSQL
Build the set SQL.- Returns:
- The update set clause
-
addValue
Add the update value.- Parameters:
param
- SQL parameter
-
getParams
- Returns:
- the param values
-