public class OutputProcessViewBaseCallback extends OutputProcessViewBase
Constructor and Description |
---|
OutputProcessViewBaseCallback(ResultSetProcessor resultSetProcessor,
OutputProcessViewCallback callback) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection.
|
void |
process(java.util.Set<MultiKey<EventBean>> newEvents,
java.util.Set<MultiKey<EventBean>> oldEvents,
ExprEvaluatorContext exprEvaluatorContext)
Process join result set.
|
void |
terminated() |
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent.
|
addView, getEventType, getParent, getViews, hasViews, removeAllViews, removeView, setJoinExecutionStrategy, setParent
public OutputProcessViewBaseCallback(ResultSetProcessor resultSetProcessor, OutputProcessViewCallback callback)
public java.util.Iterator<EventBean> iterator()
EventCollection
public void process(java.util.Set<MultiKey<EventBean>> newEvents, java.util.Set<MultiKey<EventBean>> oldEvents, ExprEvaluatorContext exprEvaluatorContext)
JoinSetProcessor
newEvents
- - set of event tuples representing new dataoldEvents
- - set of event tuples representing old dataexprEvaluatorContext
- expression evaluation contextpublic void terminated()
public void update(EventBean[] newData, EventBean[] oldData)
View
newData
- is the new data that has been added to the parent viewoldData
- is the old data that has been removed from the parent view