public class OnDeleteClause extends OnClause
Constructor and Description |
---|
OnDeleteClause()
Ctor.
|
OnDeleteClause(String windowName,
String optionalAsName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static OnDeleteClause |
create(String windowName,
String optionalAsName)
Creates an on-delete clause.
|
String |
getOptionalAsName()
Returns the as-provided name for the named window.
|
String |
getWindowName()
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.
|
createOnDelete, createOnInsertSplitStream, createOnSelect, createOnSet, createOnUpdate
public static OnDeleteClause create(String windowName, String optionalAsName)
windowName
- is the named window nameoptionalAsName
- is the optional as-provided 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 window