Class OnMergeMatchedUpdateAction

java.lang.Object
com.espertech.esper.common.client.soda.OnMergeMatchedUpdateAction
All Implemented Interfaces:
OnMergeMatchedAction, Serializable

public class OnMergeMatchedUpdateAction extends Object implements OnMergeMatchedAction
For use with on-merge clauses, updates rows in a named window if matching rows are found.
See Also:
  • Constructor Details

    • OnMergeMatchedUpdateAction

      public OnMergeMatchedUpdateAction()
      Ctor.
    • OnMergeMatchedUpdateAction

      public OnMergeMatchedUpdateAction(List<Assignment> assignments, Expression whereClause)
      Ctor.
      Parameters:
      assignments - assignments of values to columns
      whereClause - optional condition or null
  • Method Details

    • getWhereClause

      public Expression getWhereClause()
      Returns the action condition, or null if undefined.
      Returns:
      condition
    • setWhereClause

      public void setWhereClause(Expression whereClause)
      Sets the action condition, or null if undefined.
      Parameters:
      whereClause - to set, or null to remove the condition
    • getAssignments

      public List<Assignment> getAssignments()
      Returns the assignments to execute against any rows found in a named window
      Returns:
      assignments
    • setAssignments

      public void setAssignments(List<Assignment> assignments)
      Sets the assignments to execute against any rows found in a named window
      Parameters:
      assignments - to set
    • toEPL

      public void toEPL(StringWriter writer)
      Description copied from interface: OnMergeMatchedAction
      Render to EPL.
      Specified by:
      toEPL in interface OnMergeMatchedAction
      Parameters:
      writer - to render to