Class OnSelectClause
java.lang.Object
com.espertech.esper.common.client.soda.OnClause
com.espertech.esper.common.client.soda.OnSelectClause
- 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 OnSelectClause
Creates an on-select clause.Returns the as-provided name for the named window.Returns the name of the named window to delete from.boolean
Returns indicator whether select-and-delete or just selectvoid
setDeleteAndSelect
(boolean deleteAndSelect) Sets indicator whether select-and-delete or just selectvoid
setOptionalAsName
(String optionalAsName) Sets the as-provided name 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
-
OnSelectClause
public OnSelectClause()Ctor. -
OnSelectClause
Ctor.- Parameters:
windowName
- is the named window nameoptionalAsName
- is the name of the named window
-
-
Method Details
-
create
Creates an on-select clause.- Parameters:
windowName
- is the named window nameoptionalAsName
- is the optional name- Returns:
- on-select 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
-
setOptionalAsName
Sets the as-provided name for the named window.- Parameters:
optionalAsName
- name to set for window
-
isDeleteAndSelect
public boolean isDeleteAndSelect()Returns indicator whether select-and-delete or just select- Returns:
- indicator
-
setDeleteAndSelect
public void setDeleteAndSelect(boolean deleteAndSelect) Sets indicator whether select-and-delete or just select- Parameters:
deleteAndSelect
- indicator
-