|
||||||||||
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.OnMergeMatchItem
public class OnMergeMatchItem
As part of on-merge, this represents a single "matched" or "not matched" entry.
Constructor Summary | |
---|---|
OnMergeMatchItem()
Ctor. |
|
OnMergeMatchItem(boolean matched,
Expression optionalCondition,
java.util.List<OnMergeMatchedAction> actions)
Ctor. |
Method Summary | |
---|---|
java.util.List<OnMergeMatchedAction> |
getActions()
Returns all actions. |
Expression |
getOptionalCondition()
Returns the condition to apply or null if none is provided. |
boolean |
isMatched()
Returns true for matched, and false for not-matched. |
void |
setActions(java.util.List<OnMergeMatchedAction> actions)
Sets all actions. |
void |
setMatched(boolean matched)
Set to true for matched, and false for not-matched. |
void |
setOptionalCondition(Expression optionalCondition)
Sets the condition to apply or null if none is provided. |
void |
toEPL(java.io.StringWriter writer,
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 OnMergeMatchItem()
public OnMergeMatchItem(boolean matched, Expression optionalCondition, java.util.List<OnMergeMatchedAction> actions)
matched
- true for matched, false for not-matchedoptionalCondition
- an optional additional filteractions
- one or more actions to takeMethod Detail |
---|
public void toEPL(java.io.StringWriter writer, EPStatementFormatter formatter)
writer
- to output toformatter
- for newline-whitespace formattingpublic boolean isMatched()
public void setMatched(boolean matched)
matched
- matched or not-matched indicatorpublic Expression getOptionalCondition()
public void setOptionalCondition(Expression optionalCondition)
optionalCondition
- condition to apply or null to have no conditionpublic java.util.List<OnMergeMatchedAction> getActions()
public void setActions(java.util.List<OnMergeMatchedAction> actions)
actions
- 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 |