public class OutputProcessViewConditionSnapshot extends OutputProcessViewBaseWAfter
Constructor and Description |
---|
OutputProcessViewConditionSnapshot(ResultSetProcessor resultSetProcessor,
java.lang.Long afterConditionTime,
java.lang.Integer afterConditionNumberOfEvents,
boolean afterConditionSatisfied,
OutputProcessViewConditionFactory parent,
AgentInstanceContext agentInstanceContext) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection.
|
void |
output(boolean forceUpdate,
UniformPair<EventBean[]> results) |
void |
process(java.util.Set<MultiKey<EventBean>> newEvents,
java.util.Set<MultiKey<EventBean>> oldEvents,
ExprEvaluatorContext exprEvaluatorContext)
This process (update) method is for participation in a join.
|
void |
terminated() |
void |
update(EventBean[] newData,
EventBean[] oldData)
The update method is called if the view does not participate in a join.
|
checkAfterCondition, checkAfterCondition, checkAfterCondition
addView, getEventType, getParent, getViews, hasViews, removeAllViews, removeView, setJoinExecutionStrategy, setParent
public OutputProcessViewConditionSnapshot(ResultSetProcessor resultSetProcessor, java.lang.Long afterConditionTime, java.lang.Integer afterConditionNumberOfEvents, boolean afterConditionSatisfied, OutputProcessViewConditionFactory parent, AgentInstanceContext agentInstanceContext)
public void update(EventBean[] newData, EventBean[] oldData)
newData
- - new eventsoldData
- - old eventspublic void process(java.util.Set<MultiKey<EventBean>> newEvents, java.util.Set<MultiKey<EventBean>> oldEvents, ExprEvaluatorContext exprEvaluatorContext)
newEvents
- - new eventsoldEvents
- - old eventsexprEvaluatorContext
- expression evaluation contextpublic void output(boolean forceUpdate, UniformPair<EventBean[]> results)
public java.util.Iterator<EventBean> iterator()
EventCollection
public void terminated()