public class OnSelectClause extends OnClause
Constructor and Description |
---|
OnSelectClause()
Ctor.
|
OnSelectClause(String windowName,
String optionalAsName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static OnSelectClause |
create(String windowName,
String optionalAsName)
Creates an on-select clause.
|
String |
getOptionalAsName()
Returns the as-provided name for the named window.
|
String |
getWindowName()
Returns the name of the named window to delete from.
|
boolean |
isDeleteAndSelect()
Returns indicator whether select-and-delete or just select
|
void |
setDeleteAndSelect(boolean deleteAndSelect)
Sets indicator whether select-and-delete or just select
|
void |
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.
|
createOnDelete, createOnInsertSplitStream, createOnSelect, createOnSet, createOnUpdate
public static OnSelectClause create(String windowName, String optionalAsName)
windowName
- is the named window nameoptionalAsName
- is the optional namepublic void toEPL(StringWriter writer)
writer
- to output topublic String getWindowName()
public void setWindowName(String windowName)
windowName
- window namepublic String getOptionalAsName()
public void setOptionalAsName(String optionalAsName)
optionalAsName
- name to set for windowpublic boolean isDeleteAndSelect()
public void setDeleteAndSelect(boolean deleteAndSelect)
deleteAndSelect
- indicator