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