Class OnMergeMatchedUpdateAction
java.lang.Object
com.espertech.esper.common.client.soda.OnMergeMatchedUpdateAction
- All Implemented Interfaces:
OnMergeMatchedAction
,Serializable
For use with on-merge clauses, updates rows in a named window if matching rows are found.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.OnMergeMatchedUpdateAction
(List<Assignment> assignments, Expression whereClause) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the assignments to execute against any rows found in a named windowReturns the action condition, or null if undefined.void
setAssignments
(List<Assignment> assignments) Sets the assignments to execute against any rows found in a named windowvoid
setWhereClause
(Expression whereClause) Sets the action condition, or null if undefined.void
toEPL
(StringWriter writer) Render to EPL.
-
Constructor Details
-
OnMergeMatchedUpdateAction
public OnMergeMatchedUpdateAction()Ctor. -
OnMergeMatchedUpdateAction
Ctor.- Parameters:
assignments
- assignments of values to columnswhereClause
- optional condition or null
-
-
Method Details
-
getWhereClause
Returns the action condition, or null if undefined.- Returns:
- condition
-
setWhereClause
Sets the action condition, or null if undefined.- Parameters:
whereClause
- to set, or null to remove the condition
-
getAssignments
Returns the assignments to execute against any rows found in a named window- Returns:
- assignments
-
setAssignments
Sets the assignments to execute against any rows found in a named window- Parameters:
assignments
- to set
-
toEPL
Description copied from interface:OnMergeMatchedAction
Render to EPL.- Specified by:
toEPL
in interfaceOnMergeMatchedAction
- Parameters:
writer
- to render to
-