Class OnClause

java.lang.Object
com.espertech.esper.common.client.soda.OnClause
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OnDeleteClause, OnInsertSplitStreamClause, OnMergeClause, OnMergeMatchItem, OnSelectClause, OnSetClause, OnUpdateClause

public abstract class OnClause extends Object implements Serializable
A clause to delete from a named window based on a triggering event arriving and correlated to the named window events to be deleted.
See Also:
  • Constructor Details

    • OnClause

      public OnClause()
      Ctor.
  • Method Details

    • createOnDelete

      public static OnDeleteClause createOnDelete(String windowName, String asName)
      Creates an on-delete clause for deleting from a named window.
      Parameters:
      windowName - is the named window name
      asName - is the as-provided name of the named window
      Returns:
      on-delete clause
    • createOnInsertSplitStream

      public static OnInsertSplitStreamClause createOnInsertSplitStream()
      Creates a split-stream clause.
      Returns:
      split-stream on-insert clause
    • createOnSelect

      public static OnSelectClause createOnSelect(String windowName, String asName)
      Creates an on-select clause for selecting from a named window.
      Parameters:
      windowName - is the named window name
      asName - is the as-provided name of the named window
      Returns:
      on-select clause
    • createOnUpdate

      public static OnUpdateClause createOnUpdate(String windowName, String asName, Expression expression)
      Creates an on-update clause for updating a named window.
      Parameters:
      windowName - is the named window name
      asName - is the as-provided name of the named window
      expression - expression
      Returns:
      on-update clause
    • createOnSet

      public static OnSetClause createOnSet(Expression expression)
      Creates an on-set clause for setting variable values.
      Parameters:
      expression - is the assignment expression
      Returns:
      on-set clause