Class OnDeleteClause
java.lang.Object
com.espertech.esper.common.client.soda.OnClause
com.espertech.esper.common.client.soda.OnDeleteClause
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OnDeleteClause
Creates an on-delete clause.Returns the as-provided name for the named window.Returns the name of the named window to delete from.void
setOptionalAsName
(String optionalAsName) Sets the as-provided for the named window.void
setWindowName
(String windowName) Sets the name of the named window.void
toEPL
(StringWriter writer) Renders the clause in textual representation.Methods inherited from class com.espertech.esper.common.client.soda.OnClause
createOnDelete, createOnInsertSplitStream, createOnSelect, createOnSet, createOnUpdate
-
Constructor Details
-
OnDeleteClause
public OnDeleteClause()Ctor. -
OnDeleteClause
Ctor.- Parameters:
windowName
- is the named window nameoptionalAsName
- is the as-provided name of the named window
-
-
Method Details
-
create
Creates an on-delete clause.- Parameters:
windowName
- is the named window nameoptionalAsName
- is the optional as-provided name- Returns:
- on-delete clause
-
toEPL
Renders the clause in textual representation.- Parameters:
writer
- to output to
-
getWindowName
Returns the name of the named window to delete from.- Returns:
- named window name
-
setWindowName
Sets the name of the named window.- Parameters:
windowName
- window name
-
getOptionalAsName
Returns the as-provided name for the named window.- Returns:
- name or null
-
setOptionalAsName
Sets the as-provided for the named window.- Parameters:
optionalAsName
- name to set for window
-