|
||||||||||
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.OnUpdateClause
public class OnUpdateClause
A clause to update a named window based on a triggering event arriving and correlated to the named window events to be updated.
Constructor Summary | |
---|---|
OnUpdateClause()
Ctor. |
|
OnUpdateClause(java.lang.String windowName,
java.lang.String optionalAsName)
Ctor. |
Method Summary | |
---|---|
OnUpdateClause |
addAssignment(Expression expression)
Adds a variable to set to the clause. |
static OnUpdateClause |
create(java.lang.String windowName,
java.lang.String optionalAsName)
Creates an on-update clause. |
java.util.List<Assignment> |
getAssignments()
Returns the list of variable assignments. |
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 |
setAssignments(java.util.List<Assignment> assignments)
Sets a list of variable assignments. |
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. |
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 OnUpdateClause()
public OnUpdateClause(java.lang.String windowName, java.lang.String optionalAsName)
windowName
- is the named window nameoptionalAsName
- is the as-provided name of the named windowMethod Detail |
---|
public static OnUpdateClause create(java.lang.String windowName, java.lang.String optionalAsName)
windowName
- is the named window nameoptionalAsName
- is the optional as-provided name
public 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 OnUpdateClause addAssignment(Expression expression)
expression
- expression providing the new variable value
public java.util.List<Assignment> getAssignments()
public void setAssignments(java.util.List<Assignment> assignments)
assignments
- list of pairs of variable name and expression
|
© 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 |