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
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OnDeleteClause
createOnDelete
(String windowName, String asName) Creates an on-delete clause for deleting from a named window.static OnInsertSplitStreamClause
Creates a split-stream clause.static OnSelectClause
createOnSelect
(String windowName, String asName) Creates an on-select clause for selecting from a named window.static OnSetClause
createOnSet
(Expression expression) Creates an on-set clause for setting variable values.static OnUpdateClause
createOnUpdate
(String windowName, String asName, Expression expression) Creates an on-update clause for updating a named window.
-
Constructor Details
-
OnClause
public OnClause()Ctor.
-
-
Method Details
-
createOnDelete
Creates an on-delete clause for deleting from a named window.- Parameters:
windowName
- is the named window nameasName
- is the as-provided name of the named window- Returns:
- on-delete clause
-
createOnInsertSplitStream
Creates a split-stream clause.- Returns:
- split-stream on-insert clause
-
createOnSelect
Creates an on-select clause for selecting from a named window.- Parameters:
windowName
- is the named window nameasName
- 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 nameasName
- is the as-provided name of the named windowexpression
- expression- Returns:
- on-update clause
-
createOnSet
Creates an on-set clause for setting variable values.- Parameters:
expression
- is the assignment expression- Returns:
- on-set clause
-