public class OnMergeMatchedUpdateAction extends Object implements OnMergeMatchedAction
Constructor and Description |
---|
OnMergeMatchedUpdateAction()
Ctor.
|
OnMergeMatchedUpdateAction(List<Assignment> assignments,
Expression whereClause)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
List<Assignment> |
getAssignments()
Returns the assignments to execute against any rows found in a named window
|
Expression |
getWhereClause()
Returns the action condition, or null if undefined.
|
void |
setAssignments(List<Assignment> assignments)
Sets the assignments to execute against any rows found in a named window
|
void |
setWhereClause(Expression whereClause)
Sets the action condition, or null if undefined.
|
void |
toEPL(StringWriter writer)
Render to EPL.
|
public OnMergeMatchedUpdateAction()
public OnMergeMatchedUpdateAction(List<Assignment> assignments, Expression whereClause)
assignments
- assignments of values to columnswhereClause
- optional condition or nullpublic Expression getWhereClause()
public void setWhereClause(Expression whereClause)
whereClause
- to set, or null to remove the conditionpublic List<Assignment> getAssignments()
public void setAssignments(List<Assignment> assignments)
assignments
- to setpublic void toEPL(StringWriter writer)
OnMergeMatchedAction
toEPL
in interface OnMergeMatchedAction
writer
- to render to