public class OnDeleteClause extends OnClause
Constructor and Description |
---|
OnDeleteClause()
Ctor.
|
OnDeleteClause(java.lang.String windowName,
java.lang.String optionalAsName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static OnDeleteClause |
create(java.lang.String windowName,
java.lang.String optionalAsName)
Creates an on-delete 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.
|
void |
setOptionalAsName(java.lang.String optionalAsName)
Sets the as-provided 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 OnDeleteClause()
public OnDeleteClause(java.lang.String windowName, java.lang.String optionalAsName)
windowName
- is the named window nameoptionalAsName
- is the as-provided name of the named windowpublic static OnDeleteClause create(java.lang.String windowName, java.lang.String optionalAsName)
windowName
- is the named window nameoptionalAsName
- is the optional as-provided 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 window