|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.OnClause
com.espertech.esper.client.soda.OnMergeClause
public class OnMergeClause
A clause to insert, update or delete to/from a named window based on a triggering event arriving and correlated to the named window events to be updated.
Constructor Summary | |
---|---|
OnMergeClause()
Ctor. |
|
OnMergeClause(java.lang.String windowName,
java.lang.String optionalAsName,
java.util.List<OnMergeMatchItem> matchItems)
Ctor. |
Method Summary | |
---|---|
OnMergeClause |
addAction(OnMergeMatchItem action)
Add a new action to the list of actions. |
static OnMergeClause |
create(java.lang.String windowName,
java.lang.String optionalAsName,
java.util.List<OnMergeMatchItem> matchItems)
Creates an on-update clause. |
java.util.List<OnMergeMatchItem> |
getMatchItems()
Returns all actions. |
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 update. |
void |
setMatchItems(java.util.List<OnMergeMatchItem> matchItems)
Sets all actions. |
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,
Expression optionalWhereClause,
EPStatementFormatter formatter)
Renders the clause in textual representation. |
Methods inherited from class com.espertech.esper.client.soda.OnClause |
---|
createOnDelete, createOnInsertSplitStream, createOnSelect, createOnSet, createOnUpdate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OnMergeClause()
public OnMergeClause(java.lang.String windowName, java.lang.String optionalAsName, java.util.List<OnMergeMatchItem> matchItems)
windowName
- is the named window nameoptionalAsName
- is the as-provided name of the named windowmatchItems
- is the matched and non-matched action itemsMethod Detail |
---|
public static OnMergeClause create(java.lang.String windowName, java.lang.String optionalAsName, java.util.List<OnMergeMatchItem> matchItems)
windowName
- is the named window nameoptionalAsName
- is the optional as-provided namematchItems
- is the matched and non-matched action items
public void toEPL(java.io.StringWriter writer, Expression optionalWhereClause, EPStatementFormatter formatter)
writer
- to output tooptionalWhereClause
- where clause if present, or nullformatter
- for newline-whitespace formattingpublic 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 OnMergeClause addAction(OnMergeMatchItem action)
action
- to add
public java.util.List<OnMergeMatchItem> getMatchItems()
public void setMatchItems(java.util.List<OnMergeMatchItem> matchItems)
matchItems
- to set
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |