|
||||||||||
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.OnSetClause
public class OnSetClause
A clause to assign new values to variables based on a triggering event arriving.
Constructor Summary | |
---|---|
OnSetClause()
Ctor. |
Method Summary | |
---|---|
OnSetClause |
addAssignment(Expression expression)
Adds a variable to set to the clause. |
static OnSetClause |
create(Expression expression)
Creates a new on-set clause for setting variables, and adds a variable to set. |
java.util.List<Assignment> |
getAssignments()
Returns the list of variable assignments. |
void |
setAssignments(java.util.List<Assignment> assignments)
Sets a list of variable assignments. |
void |
toEPL(java.io.StringWriter writer,
EPStatementFormatter formatter)
Renders the clause in EPL. |
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 OnSetClause()
Method Detail |
---|
public static OnSetClause create(Expression expression)
expression
- is the assignment expression providing the new variable value
public OnSetClause 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 expressionpublic void toEPL(java.io.StringWriter writer, EPStatementFormatter formatter)
writer
- to output toformatter
- for newline-whitespace formatting
|
© 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 |